Changeset 606
- Timestamp:
- 04/26/09 22:54:20 (3 years ago)
- Location:
- trunk/src
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wymeditor/jquery.wymeditor.mozilla.js
r532 r606 84 84 //replace em by i and strong by bold 85 85 //(designMode issue) 86 html = html.replace(/<em( [^>]*)>/gi, "<i$1>")86 html = html.replace(/<em(\b[^>]*)>/gi, "<i$1>") 87 87 .replace(/<\/em>/gi, "</i>") 88 .replace(/<strong( [^>]*)>/gi, "<b$1>")88 .replace(/<strong(\b[^>]*)>/gi, "<b$1>") 89 89 .replace(/<\/strong>/gi, "</b>"); 90 90 91 91 //update the html body 92 92 jQuery(this._doc.body).html(html);
Note: See TracChangeset
for help on using the changeset viewer.