summaryrefslogtreecommitdiff
path: root/themes/marvin/marvin.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/marvin/marvin.theme')
-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>";