* 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:
parent
55d94844ad
commit
bf037fd183
@ -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!
|
||||
|
||||
|
@ -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'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user