* no longer use htmlspecialchars() on the blog's title and sub-

title, to allow for custom HTML code to appear and unify
      only letting Smarty do the escaping (garvinhicking,falk)
This commit is contained in:
Garvin Hicking 2009-07-03 06:08:08 +00:00
parent 55d94844ad
commit bf037fd183
2 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,10 @@
Version 1.5 ()
------------------------------------------------------------------------
* no longer use htmlspecialchars() on the blog's title and sub-
title, to allow for custom HTML code to appear and unify
only letting Smarty do the escaping (garvinhicking,falk)
* Plugin drag/drop now can scroll up/down/left/right when touching
the borders. Thanks to onli!

View File

@ -971,9 +971,9 @@ function serendipity_smarty_init($vars = array()) {
'entry_id' => (isset($serendipity['GET']['id']) && is_numeric($serendipity['GET']['id'])) ? $serendipity['GET']['id'] : false,
'is_single_entry' => (isset($serendipity['GET']['id']) && is_numeric($serendipity['GET']['id'])),
'blogTitle' => htmlspecialchars($serendipity['blogTitle']),
'blogSubTitle' => (!empty($serendipity['blogSubTitle']) ? htmlspecialchars($serendipity['blogSubTitle']) : ''),
'blogDescription' => htmlspecialchars($serendipity['blogDescription']),
'blogTitle' => $serendipity['blogTitle'],
'blogSubTitle' => (!empty($serendipity['blogSubTitle']) ? $serendipity['blogSubTitle']) : ''),
'blogDescription' => $serendipity['blogDescription'],
'serendipityHTTPPath' => $serendipity['serendipityHTTPPath'],
'serendipityBaseURL' => $serendipity['baseURL'],