[Jifty-commit] r4318 - in wifty/trunk: lib/Wifty/Form/Field
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Oct 26 16:42:13 EDT 2007
Author: jesse
Date: Fri Oct 26 16:42:12 2007
New Revision: 4318
Modified:
wifty/trunk/ (props changed)
wifty/trunk/lib/Wifty/Form/Field/WikiPage.pm
Log:
r68597 at pinglin: jesse | 2007-10-26 16:41:55 -0400
* fixing for text wikiformat bogosity with newlines
Modified: wifty/trunk/lib/Wifty/Form/Field/WikiPage.pm
==============================================================================
--- wifty/trunk/lib/Wifty/Form/Field/WikiPage.pm (original)
+++ wifty/trunk/lib/Wifty/Form/Field/WikiPage.pm Fri Oct 26 16:42:12 2007
@@ -63,6 +63,8 @@
}
);
+ $content =~ s/(?:\n\r|\r\n|\r)/\n/g;
+
$scrubber->deny(qw[*]);
$scrubber->allow(
qw[H1 H2 H3 H4 H5 A STRONG EM CODE PRE B U P BR I HR BR SPAN DIV UL OL LI DL DT DD]);
More information about the Jifty-commit
mailing list