mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
- checkin fixed viewtopic (just forgot to check it in, been applied to area51 after 2.0.16 release)
git-svn-id: file:///svn/phpbb/trunk@5168 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a9fed2022c
commit
a9e44e4bdf
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||||
{
|
{
|
||||||
// This was shamelessly 'borrowed' from volker at multiartstudio dot de
|
// This was shamelessly 'borrowed' from volker at multiartstudio dot de
|
||||||
// via php.net's annotated manual
|
// via php.net's annotated manual
|
||||||
$message = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace('#\b(" . str_replace('\\', '\\\\', $highlight_match) . ")\b#i', '<span class=\"posthilit\">\\\\1</span>', '\\0')", '>' . $message . '<'), 1, -1));
|
$message = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace('#\b(" . str_replace('\\', '\\\\', addslashes($highlight_match)) . ")\b#i', '<span class=\"posthilit\">\\\\1</span>', '\\0')", '>' . $message . '<'), 1, -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($row['enable_html'] && $auth->acl_get('f_html', $forum_id))
|
if ($row['enable_html'] && $auth->acl_get('f_html', $forum_id))
|
||||||
|
|
Loading…
Add table
Reference in a new issue