- Affected version
- 2.3.13
When editing a message containing a centered / colored heading, the rich text editor corrupts the BB code on repeated edits or when switching between the rich text and BB code modes.
The editor repeatedly adds empty HEADING tags after the original heading
The number of redundant tags increases each editor processing
Example of the BB code:
Produces:
Steps to reproduce:
The editor repeatedly adds empty HEADING tags after the original heading
The number of redundant tags increases each editor processing
Example of the BB code:
Code:
[HEADING=2][COLOR=rgb(44, 130, 201)][CENTER]Text[/CENTER][/COLOR][/HEADING]
Produces:
Code:
[HEADING=2][COLOR=rgb(44, 130, 201)][CENTER]Text[/CENTER][/COLOR][/HEADING]
[HEADING=2][/HEADING]
[HEADING=2][/HEADING]
[HEADING=2][/HEADING]
Steps to reproduce:
- Create or edit a message using the similar BB codes
- Switch from BB code mode to the rich text editor
- Switch back to BB code mode, or save and edit the message again
- Repeat the process several times
- Observe the additional nested COLOR tags and empty HEADING tags
Last edited: