-
Bug
-
Resolution: Fixed
-
Major
-
2.7.1, 2.8.3
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-47003-master -
The atto cleanHTML function is a bit heavy handed. It removes characters it shouldn't (see MDL-46746), it also removes all comments (see https://moodle.org/mod/forum/discuss.php?d=264482).
It also removes <style> tags, but not in a logical way. It removes the opening and closing tags, but leaves the style definitions there - meaning that the style definitions become visible text. If we don't allow 'style' blocks, then we should remove the entire block, otherwise, leave them alone.
Overall it seems like conglomeration of MS Word stripping research was made in MDL-43857, but not all of the ramifications we considered for each item.
- blocks
-
MDL-46955 Atto filters out font tags
-
- Closed
-
-
MDL-46746 Remove excessive filtering of non-ASCII charcters
-
- Closed
-
-
MDL-49564 Improve Atto empty span removal
-
- Closed
-
-
MDL-49565 Allow comments in Atto saved code
-
- Closed
-
- caused a regression
-
MDL-49686 Atto Office cleanup leaves mso styles behind
-
- Closed
-
- is a regression caused by
-
MDL-43857 Auto cleanup Atto HTML
-
- Closed
-
- is blocked by
-
MDL-47002 Atto cleaning sometimes leaves un-closed html comments
-
- Closed
-
- is duplicated by
-
MDL-48956 CSS Junk when copying text from Libreoffice Writer to Atto Text Editor
-
- Closed
-
- Testing discovered
-
MDL-49693 Atto should clean textarea before placing it in editor
-
- Closed
-
- will help resolve
-
MDL-48956 CSS Junk when copying text from Libreoffice Writer to Atto Text Editor
-
- Closed
-