Issue 145 in gwtwiki: iframe incorrect translation

5 views
Skip to first unread message

gwt...@googlecode.com

unread,
Jul 22, 2013, 2:20:25 AM7/22/13
to bl...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 145 by egordum...@gmail.com: iframe incorrect translation
http://code.google.com/p/gwtwiki/issues/detail?id=145

What steps will reproduce the problem?
1.I need to post an iframe object into text field
2.Lets take Youtube embed code for example

What is the expected output? What do you see instead?

I post this
<iframe width="560" height="315"
src="//www.youtube.com/embed/dOVQwABhqQc?rel=0" frameborder="0"
allowfullscreen></iframe>

OR even this

<nowiki><iframe width="560" height="315"
src="//www.youtube.com/embed/dOVQwABhqQc?rel=0" frameborder="0"
allowfullscreen></iframe></nowiki>

BUT got this

<p> &#60;iframe width=&#34;560&#34; height=&#34;315&#34;
src=&#34;//www.youtube.com/embed/dOVQwABhqQc?rel=0&#34;
frameborder=&#34;0&#34; allowfullscreen&#62;&#60;/iframe&#62;
</p>

I tried to add this to my WikiModel

static {
TagNode.addAllowedAttribute("iframe");
}

How a ican solve this issue or declare an rule for parser to ignore that
tag?
What version of the product are you using? On what operating system?
I'm using 3.0.19 lib version on Win7 x64

Thank you.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gwt...@googlecode.com

unread,
Oct 20, 2013, 1:18:38 PM10/20/13
to bl...@googlegroups.com

Comment #1 on issue 145 by axe...@gmail.com: iframe incorrect translation
http://code.google.com/p/gwtwiki/issues/detail?id=145

Commited test case r9126.

Added iframe through configurstion
Configuration.DEFAULT_CONFIGURATION.addTokenTag("iframe", new
HTMLBlockTag("iframe", Configuration.SPECIAL_BLOCK_TAGS));

gwt...@googlecode.com

unread,
Oct 20, 2013, 1:19:38 PM10/20/13
to bl...@googlegroups.com
Updates:
Owner: axe...@gmail.com
Labels: -Type-Defect Type-Enhancement

Comment #2 on issue 145 by axe...@gmail.com: iframe incorrect translation
http://code.google.com/p/gwtwiki/issues/detail?id=145

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages