Bugfix: with disabling config[markup_urls]
This commit is contained in:
parent
9eb3a17faa
commit
ae91636d1d
@ -1396,10 +1396,12 @@ function markup(&$body, $track_cites = false) {
|
|||||||
if ($config['auto_unicode']) {
|
if ($config['auto_unicode']) {
|
||||||
$body = unicodify($body);
|
$body = unicodify($body);
|
||||||
|
|
||||||
|
if ($config['markup_urls']) {
|
||||||
foreach ($markup_urls as &$url) {
|
foreach ($markup_urls as &$url) {
|
||||||
$body = str_replace(unicodify($url), $url, $body);
|
$body = str_replace(unicodify($url), $url, $body);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// replace tabs with 8 spaces
|
// replace tabs with 8 spaces
|
||||||
$body = str_replace("\t", ' ', $body);
|
$body = str_replace("\t", ' ', $body);
|
||||||
|
Loading…
Reference in New Issue
Block a user