From 213722095b09fe77acc1c4585b3ce44471dd942f Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 28 Jul 2009 01:31:54 +0100 Subject: [PATCH] escape it --- contrib/wiki/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/wiki/theme.php b/contrib/wiki/theme.php index 720fff36..0aa3db39 100644 --- a/contrib/wiki/theme.php +++ b/contrib/wiki/theme.php @@ -26,7 +26,7 @@ class WikiTheme extends Themelet { $page->set_heading(html_escape($wiki_page->title)); $page->add_block(new NavBlock()); $page->add_block(new Block("Wiki Index", $tfe->formatted, "left", 20)); - $page->add_block(new Block($wiki_page->title, $this->create_display_html($wiki_page))); + $page->add_block(new Block(html_escape($wiki_page->title), $this->create_display_html($wiki_page))); } public function display_page_editor(Page $page, WikiPage $wiki_page) {