mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Fixed incorrect order of rebuilding excluded text
This commit is contained in:
parent
67775c8d9f
commit
d7d93ee995
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user