From 1410c9d0e8ed072d63461933ae31b43f0be04086 Mon Sep 17 00:00:00 2001 From: briandilley Date: Tue, 2 Nov 2004 06:52:06 +0000 Subject: [PATCH] Mofo!, had to fix the "show" action --- kwotes.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kwotes.pl b/kwotes.pl index 8af129e..335100e 100755 --- a/kwotes.pl +++ b/kwotes.pl @@ -101,7 +101,9 @@ if ($action eq "add") { } else { $vars{TITLE} = "Kwote \#$kwote->{'id'}"; $vars{KWOTE_ID} = $kwote->{'id'}; - $vars{KWOTE_TEXT} = html_escape($kwote->{'content'}); + $vars{KWOTE_TEXT_HTML} = html_escape($kwote->{'content'}); + $vars{KWOTE_TEXT_XML} = xml_escape($kwote->{'content'}); + $vars{KWOTE_TEXT_PLAIN} = $kwote->{'content'}; $vars{KWOTE_RATING} = $kwote->{'rating'}; $main_content = wrap_template($template, "content-show-kwote.html", %vars);