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.