Fixed incorrect order of rebuilding excluded text

This commit is contained in:
ikawhero 2005-02-25 23:18:09 +00:00
parent 67775c8d9f
commit d7d93ee995

View File

@ -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);
}