1
0

* 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 30c5d67934
commit 29601b1869
2 changed files with 7 additions and 3 deletions

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'],