Tweak the TinyMCE settings so that more of the original
whitespace and HTML is preserved when editing help, making
help patches easier to understand.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
my $referer = $input->param('referer');
my $oldreferer = $referer;
my $help = $input->param('help');
+# strip any DOS-newlines that TinyMCE may have sneaked in
+$help =~ s/\r//g;
my $error;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
theme_advanced_path_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
+ apply_source_formatting : true
});
</script>
<!-- TMPL_IF name="intranetstylesheet" -->