-
Bug
-
Resolution: Fixed
-
Major
-
3.9.23, 3.11.16, 4.0.10, 4.1.5, 4.2.2
MDL-77525 introduced a regression in text filtering where <nolink> tags stop working.
solution should be:
public function filter_text($text, $context, array $options = array(), |
array $skipfilters = null) { |
$text = $this->apply_filter_chain($text, $this->get_text_filters($context), $options, $skipfilters); |
if (!isset($options['stage']) || $options['stage'] === 'post_clean') { |
// Remove <nolink> tags for XHTML compatibility. |
$text = str_replace(array('<nolink>', '</nolink>'), '', $text); |
}
|
return $text; |
}
|
|
- is a regression caused by
-
MDL-77525 Add text filtering stages
- Closed