summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-11-01 15:09:05 +0000
committerDries Buytaert <dries@buytaert.net>2000-11-01 15:09:05 +0000
commit9cf30ab8bf502f9b5d0a8e80f01e97806d005da4 (patch)
tree7091b6370e0956f1bc36bdf4195feff13cf27e10 /themes
parent273109fbcfdbf5b9301c57b706108c7f00bcbb67 (diff)
downloadbrdo-9cf30ab8bf502f9b5d0a8e80f01e97806d005da4.tar.gz
brdo-9cf30ab8bf502f9b5d0a8e80f01e97806d005da4.tar.bz2
* fixed the slash-bug just reported by UnConeD.
Diffstat (limited to 'themes')
-rw-r--r--themes/marvin/marvin.theme18
1 files changed, 9 insertions, 9 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index bb24cc758..3bd0d154c 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -70,8 +70,8 @@
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
print " <TR>\n";
print " <TD COLSPAN=\"2\">\n";
- if ($story->abstract) print " <P>". nl2br($story->abstract) ."</P>\n";
- if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". nl2br($story->updates) ."</P>\n";
+ if ($story->abstract) print " <P>". check_output($story->abstract, 1) ."</P>\n";
+ if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". check_output($story->updates, 1) ."</P>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
@@ -98,9 +98,9 @@
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
print " <TR>\n";
print " <TD COLSPAN=\"2\">\n";
- if ($story->abstract) print " <P>". nl2br($story->abstract) ."</P>\n";
- if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT>". nl2br($story->updates) ."</P>\n";
- if ($story->article) print " <P>". nl2br($story->article) ."</P>\n";
+ if ($story->abstract) print " <P>". check_output($story->abstract, 1) ."</P>\n";
+ if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT>". check_output($story->updates, 1) ."</P>\n";
+ if ($story->article) print " <P>". check_output($story->article, 1) ."</P>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
@@ -216,7 +216,7 @@
print " </TR>\n";
### Print body of comment:
- if ($comment) print " <TR><TD BGCOLOR=\"#FFFFFF\">". nl2br($comment) ."</TD></TR>\n";
+ if ($comment) print " <TR><TD BGCOLOR=\"#FFFFFF\">". check_output($comment, 1) ."</TD></TR>\n";
### Print thread (if any):
if ($thread) print " <TR><TD BGCOLOR=\"$this->bgcolor1\">$thread</TD></TR>\n";
@@ -248,9 +248,9 @@
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>";
print " <TR>";
print " <TD COLSPAN=\"2\">";
- if ($abstract) print "<P>". nl2br($abstract) ."</P>";
- if ($comments) print "<P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". nl2br($comments) ."</P>";
- if ($article) print "<P>". nl2br($article) ."</P>";
+ if ($abstract) print "<P>". check_output($abstract, 1) ."</P>";
+ if ($comments) print "<P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". check_output($comments, 1) ."</P>";
+ if ($article) print "<P>". check_output($article, 1) ."</P>";
print " </TD>";
print " </TR>";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>";