Skip to content

Commit

Permalink
output goes through textEncode
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@229275 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Michele Tomaiuolo committed Feb 7, 2007
1 parent 1a1b12b commit 8ef4d02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Text/Wiki/Render/Xhtml/Preformatted.php
Expand Up @@ -40,7 +40,8 @@ class Text_Wiki_Render_Xhtml_Preformatted extends Text_Wiki_Render {

function token($options)
{
return '<pre>'.$options['text'].'</pre>';
$text = $this->textEncode($options['text']);
return '<pre>'.$text.'</pre>';
}
}
?>

0 comments on commit 8ef4d02

Please sign in to comment.