General removal of <nolink> tags for XHTML compatibility.
Moved from the glossary filter as the filter may not be enabled.
This commit is contained in:
@@ -1097,6 +1097,10 @@ function filter_text($text, $courseid=NULL) {
|
||||
}
|
||||
}
|
||||
|
||||
/// <nolink> tags removed for XHTML compatibility
|
||||
$text = str_replace('<nolink>', '', $text);
|
||||
$text = str_replace('</nolink>', '', $text);
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
||||
@@ -108,9 +108,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <nolink> tags removed for XHTML compatibility
|
||||
$text = str_replace('<nolink>', '', $text);
|
||||
$text = str_replace('</nolink>', '', $text);
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user