summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Pages/Posts/ViewPost.page
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog/protected/Pages/Posts/ViewPost.page')
-rw-r--r--demos/blog/protected/Pages/Posts/ViewPost.page2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/blog/protected/Pages/Posts/ViewPost.page b/demos/blog/protected/Pages/Posts/ViewPost.page
index c48b8537..7d9c208d 100644
--- a/demos/blog/protected/Pages/Posts/ViewPost.page
+++ b/demos/blog/protected/Pages/Posts/ViewPost.page
@@ -2,7 +2,7 @@
<div class="post">
<div class="post-title">
-<%= $this->CurrentPost->Title %>
+<%= htmlentities($this->CurrentPost->Title,ENT_QUOTES,'UTF-8') %>
</div>
<div class="post-time">
<com:TLabel