Dont insert data if totally stripped out after filtering and processing.
Minor refac.
Changelog entry.
Merge branch 't/10339'
Changelog entry for #10360.
Escaped "$" in replacements.
Use Array.split|join instead of String.replace because it fails in IE7 if replacement controls are in use.
Changelog entry.
Merge branch 't/10367'
Don't assume BR at the end of document as bogus in Gecko while in ENTER_BR.
Changelog entry.