mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-17 21:39:27 +01:00
Bugfix: with disabling config[markup_urls]
This commit is contained in:
parent
9eb3a17faa
commit
ae91636d1d
@ -1396,8 +1396,10 @@ function markup(&$body, $track_cites = false) {
|
||||
if ($config['auto_unicode']) {
|
||||
$body = unicodify($body);
|
||||
|
||||
foreach ($markup_urls as &$url) {
|
||||
$body = str_replace(unicodify($url), $url, $body);
|
||||
if ($config['markup_urls']) {
|
||||
foreach ($markup_urls as &$url) {
|
||||
$body = str_replace(unicodify($url), $url, $body);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user