Project:Whizzywig - A complete WYSIWYG Editor
Version:6.x-1.0-alpha1
Component:Code
Category:bug report
Priority:normal
Assigned:trevorleenc
Status:closed (fixed)

Issue Summary

I had a heckuva time finding the solution to this, so I just wanted to re-post here.
http://www.unverse.net/whizzywig-forum/0806301840/

Problem, embed tags get converted to ibed...

The problem is in tidyD(h) function:

remove this line: (line 381)

h=h.replace(/<(\/?)em([^>]*)>/gi, "<$1I$2>");

and add these two lines:

h=h.replace(/<(\/?)em ([^>]*)>/gi, "<$1I $2>");
h=h.replace(/<(\/?)em>/gi, "<$1I>");

Comments

#1

Version:5.x-1.2» 6.x-1.0-alpha1
Status:active» needs review

Please try Whizzywig 6.x-1.0-ALPHA1, I can not re-produce the bug, so I think this bug has been fixed!

NB: You need to use Drupal 6, I no longer support 5.x version because all modules now going to D6 (and D7 now in code freeze stage).

#2

Status:needs review» closed (fixed)

The <EMBED> issue has been fixed on Whizzywig 6.x-1.0-ALPHA1.

nobody click here