mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 19:29:28 +01:00
Revert "markup modifiers: make it even harder to escape"
This reverts commit d7ea47a91f63382f7a4e002086e415550e342a11.
This commit is contained in:
parent
055c3a7382
commit
e93d5b2f8e
@ -1623,7 +1623,7 @@ function markup(&$body, $track_cites = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function escape_markup_modifiers($string) {
|
function escape_markup_modifiers($string) {
|
||||||
return preg_replace('@<tinyboard ([\w\s]+)>@m', '<tinyboard escape $1>', $string);
|
return preg_replace('@<tinyboard ([\w\s]+)>(.+)</tinyboard>@m', '<tinyboard escape $1>$2</tinyboard>', $string);
|
||||||
}
|
}
|
||||||
|
|
||||||
function utf8tohtml($utf8) {
|
function utf8tohtml($utf8) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user