summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-17 01:36:28 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-17 01:36:28 +1100
commit89ecd645d1ab725aa774d7a73b91dd5a670b6ed4 (patch)
tree6f83fcfddf111a535e7c271c823b9e341587faee
parent5eb0d7e8e2aa027906b601672eb6c69bd3c900a4 (diff)
post editing bug
-rw-r--r--mod.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod.php b/mod.php
index 66ff4673..fe2ad589 100644
--- a/mod.php
+++ b/mod.php
@@ -2170,6 +2170,9 @@
exit;
}
+ if($config['minify_html'])
+ $post['body_nomarkup'] = str_replace("\n", '&#010;', $post['body_nomarkup']);
+
$body = '<form name="post" action="" method="post">' .
'<table>' .
'<tr>' .