Opened 18 years ago
Closed 18 years ago
#314 closed Bug (invalid)
javascript inside html
Reported by: | Dmitry Uspensky | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Source View | Version: | FCKeditor 2.4 |
Keywords: | Pending | Cc: |
Description
1) switch editor to source mode, enter the following code:
<p><a onclick="doSomething(’xxx’);" href="http://www.fckeditor.net/">FCKeditor</a></p>
2)switch to WYSIWYG mode and back to source mode. Code gets converted as follows: <p><a onclick="doSomething(&apos;rsquo;xxx&apos;rsquo;);" href="http://www.fckeditor.net/">FCKeditor</a></p>
if you keep switching back and forth from one mode to another &apos; will be multiplied
Change History (2)
comment:1 Changed 18 years ago by
Keywords: | Pending added; rsquo apos removed |
---|---|
Milestone: | FCKeditor 2.4.2 |
That code is invalid javascript and you'll get an error if you try to use it. It should be: