We've had a lot of subtle issues with how code tags are handled, especially when WYSIWYG is involved, and particularly with the need to apply HTML security filtering.
Fix one thing, another thing breaks.
I've been maintaining a unit test with various cases to address this.
This issue is now resolved with a major cleanup of how the code is handling code+WYSIWYG, and the test set extended to cover this specific case.
Fix one thing, another thing breaks.
I've been maintaining a unit test with various cases to address this.
This issue is now resolved with a major cleanup of how the code is handling code+WYSIWYG, and the test set extended to cover this specific case.