do not transform hashes to tags in [code=xxx] or [code] blocks
This commit is contained in:
parent
25b2a6e0cf
commit
f44ca74e99
@ -687,7 +687,7 @@ function get_tags($s) {
|
||||
|
||||
// ignore anything in a code block
|
||||
|
||||
$s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s);
|
||||
$s = preg_replace('/\[code(.*?)\](.*?)\[\/code\]/sm','',$s);
|
||||
|
||||
// ignore anything in [style= ]
|
||||
$s = preg_replace('/\[style=(.*?)\]/sm','',$s);
|
||||
|
Reference in New Issue
Block a user