Changeset 615


Ignore:
Timestamp:
04/30/09 23:17:11 (3 years ago)
Author:
jf.hovinne
Message:

Fix #160 (thanks weswinham).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wymeditor/jquery.wymeditor.js

    r603 r615  
    34343434WYMeditor.XhtmlSaxListener.prototype.removeEmptyTags = function(xhtml) 
    34353435{ 
    3436   return xhtml.replace(new RegExp('<('+this.block_tags.join("|").replace(/\|td/,'')+')>(<br \/>|&#160;|&nbsp;|\\s)*<\/\\1>' ,'g'),''); 
     3436  return xhtml.replace(new RegExp('<('+this.block_tags.join("|").replace(/\|td/,'').replace(/\|th/, '')+')>(<br \/>|&#160;|&nbsp;|\\s)*<\/\\1>' ,'g'),''); 
    34373437}; 
    34383438 
Note: See TracChangeset for help on using the changeset viewer.