projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4090c3
)
use the pre-escaped body for display
author
Joey Schulze
<joey@infodrom.org>
Tue, 16 Aug 2005 17:28:03 +0000
(17:28 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Tue, 16 Aug 2005 17:28:03 +0000
(17:28 +0000)
src/LTOL/news/update.wml
patch
|
blob
|
history
diff --git
a/src/LTOL/news/update.wml
b/src/LTOL/news/update.wml
index
ff44c8c
..
25de8c8
100644
(file)
--- a/
src/LTOL/news/update.wml
+++ b/
src/LTOL/news/update.wml
@@
-10,6
+10,7
@@
or die("Unable to connect to SQL server");
<:
+ $savedbody = $body;
for $i (('subject','author','email','teaser','body')) {
printf " \$%s=sql_prepare (\$%s);\n", $i, $i;
}
@@
-61,7
+62,7
@@
<p><?
echo ereg_replace ("<newline>", "
", ereg_replace ("<newline><newline>","<p>", ereg_replace ("
-", "<newline>", $body)));
+", "<newline>", $
saved
body)));
?>
</page>