Ticket #4573: 4573.patch
File 4573.patch, 669 bytes (added by , 15 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
15 15 */ 16 16 var nonExitableElementNames = { table:1,pre:1 }; 17 17 // Matching an empty paragraph at the end of document. 18 var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>| |  )\s*(:?<\/\1>)?\s*$/gi;18 var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>| |\u00A0| )\s*(:?<\/\1>)?\s*$/gi; 19 19 20 20 function onInsertHtml( evt ) 21 21 {