summaryrefslogtreecommitdiffstats
path: root/templates/default.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default.inc.php')
-rw-r--r--templates/default.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/default.inc.php b/templates/default.inc.php
index 9669671..5ec0c75 100644
--- a/templates/default.inc.php
+++ b/templates/default.inc.php
@@ -4,7 +4,7 @@
class default_template {
function Get($data) {
if($data['title'])
- $title = strtr($data['title'], array('<' => '&lt;', '>' => '&gt;', '&' => '&amp;', '"' => '&quot;'));
+ $title = htmlspecialchars($data['title']);
else
$title = strtr($data['_page'], array(':' => ' - '));
$content = '<h2>' . $title . '</h2>' . strtr($data['content'], array('<' => '&lt;', '>' => '&gt;', '&' => '&amp;',