Fixed incorrect order of rebuilding excluded text
This commit is contained in:
@@ -211,12 +211,12 @@
|
||||
if (!empty($links)) {
|
||||
$text = str_replace(array_keys($links),$links,$text);
|
||||
}
|
||||
if (!empty( $excludes)) {
|
||||
$text = str_replace(array_keys($excludes),$excludes,$text);
|
||||
}
|
||||
if (!empty( $nolinkspan)) {
|
||||
$text = str_replace(array_keys($nolinkspan),$nolinkspan,$text);
|
||||
}
|
||||
if (!empty( $excludes)) {
|
||||
$text = str_replace(array_keys($excludes),$excludes,$text);
|
||||
}
|
||||
if ($fullmatch and !empty($words)) {
|
||||
$text = str_replace(array_keys($words),$words,$text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user