Respect 'don't auto format' option.
Patch by afuna.
diffs (13 lines):
diff -r 43bbf85049d0 -r 19bd8359e62f cgi-bin/LJ/S2.pm
--- a/cgi-bin/LJ/S2.pm Sun Oct 18 13:33:35 2009 +0000
+++ b/cgi-bin/LJ/S2.pm Sun Oct 18 17:37:19 2009 +0000
@@ -1866,7 +1866,8 @@ sub Entry_from_entryobj
my $cleanhtml_opts = { cuturl => LJ::item_link( $journal, $jitemid, $anum
),
ljcut_disable => $cut_disable,
suspend_msg => $suspend_msg,
- unsuspend_supportid => $suspend_msg ? $entry_obj->prop(
'unsuspend_supportid' ) : 0
+ unsuspend_supportid => $suspend_msg ? $entry_obj->prop(
'unsuspend_supportid' ) : 0,
+ preformatted => $entry_obj->prop( "opt_preformatted" ),
};
# reading pages might need to display image placeholders
my $cleanhtml_extra = $opts->{cleanhtml_extra} || {};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog