diff options
author | xue <> | 2006-08-26 15:45:08 +0000 |
---|---|---|
committer | xue <> | 2006-08-26 15:45:08 +0000 |
commit | 79e00e70a50b89b627f5457d176084fbb192c5bd (patch) | |
tree | bad3c0f6de6c83c18a02723c90546535a9ad793c /demos/blog/protected/Pages/Posts/ViewPost.page | |
parent | 5a47e8d5c472bfbe07abb464cdcc5bbc721f8d59 (diff) |
encoding post titles.
Diffstat (limited to 'demos/blog/protected/Pages/Posts/ViewPost.page')
-rw-r--r-- | demos/blog/protected/Pages/Posts/ViewPost.page | 2 |
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
|