-
Bug
-
Resolution: Fixed
-
Major
-
3.9.22
The idea is to allow filters to alter the text at different stages in format_text():
- before format conversion
- before cleaning
- after cleaning (current)
The format_string() would use separate stage because the expected results may be different.
The problem here will be backwards compatibility, we will have to probably create 4 new methods in filter base class and supply backwards compatible setup.
Also the UI might be a bit confusing because the order of execution will be nontrivial - each filter will be able to run text filtering in all 3 phases, string filtering will be in one separate stage.
Performance cost should be negligible.
This can be also discussed at:
https://moodle.org/mod/forum/discuss.php?d=447802
- caused a regression
-
MDL-79360 broken nolink tag support in text filtering
- Closed
- has a non-specific relationship to
-
MDL-76743 Content processing and User trust
- Open
-
MDL-32114 Characters converted to HTML entities in the re-edited Markdown text field
- Closed
- has to be done before
-
MDL-78505 Markdown text format ignores $options['noclean'] and fix for mangling of Markdown in editors
- Closed