* 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:
@ -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'],
|
||||
|
Reference in New Issue
Block a user