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);