From 9cf30ab8bf502f9b5d0a8e80f01e97806d005da4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 1 Nov 2000 15:09:05 +0000 Subject: * fixed the slash-bug just reported by UnConeD. --- themes/marvin/marvin.theme | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'themes') 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 "  \n"; print " \n"; print " \n"; - if ($story->abstract) print "

". nl2br($story->abstract) ."

\n"; - if ($story->updates) print "

bgcolor2\">Editor's note: ". nl2br($story->updates) ."

\n"; + if ($story->abstract) print "

". check_output($story->abstract, 1) ."

\n"; + if ($story->updates) print "

bgcolor2\">Editor's note: ". check_output($story->updates, 1) ."

\n"; print " \n"; print " \n"; print "  \n"; @@ -98,9 +98,9 @@ print "  \n"; print " \n"; print " \n"; - if ($story->abstract) print "

". nl2br($story->abstract) ."

\n"; - if ($story->updates) print "

bgcolor2\">Editor's note:". nl2br($story->updates) ."

\n"; - if ($story->article) print "

". nl2br($story->article) ."

\n"; + if ($story->abstract) print "

". check_output($story->abstract, 1) ."

\n"; + if ($story->updates) print "

bgcolor2\">Editor's note:". check_output($story->updates, 1) ."

\n"; + if ($story->article) print "

". check_output($story->article, 1) ."

\n"; print " \n"; print " \n"; print "  \n"; @@ -216,7 +216,7 @@ print " \n"; ### Print body of comment: - if ($comment) print " ". nl2br($comment) ."\n"; + if ($comment) print " ". check_output($comment, 1) ."\n"; ### Print thread (if any): if ($thread) print " bgcolor1\">$thread\n"; @@ -248,9 +248,9 @@ print "  "; print " "; print " "; - if ($abstract) print "

". nl2br($abstract) ."

"; - if ($comments) print "

bgcolor2\">Editor's note: ". nl2br($comments) ."

"; - if ($article) print "

". nl2br($article) ."

"; + if ($abstract) print "

". check_output($abstract, 1) ."

"; + if ($comments) print "

bgcolor2\">Editor's note: ". check_output($comments, 1) ."

"; + if ($article) print "

". check_output($article, 1) ."

"; print " "; print " "; print "  "; -- cgit v1.2.3