JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.67k stars 308 forks source link

C Code not displayed after saving in DB and then editing later #1315

Open bercolax opened 9 months ago

bercolax commented 9 months ago

I select the Code in the editor and enter the following C programming language code.

include

include

int main() { printf("Test"); return 0; }

The code gets saved in the database. Later when i edit the part of the code (in a given line) after < does not get displayed. So the content in the editor during edit will be like

include --> Here is missing

include--> Here is missing

int main() { printf("Test"); return 0; }

OS: Windows 11 Browsers: Firefox, Chrome Version: The texteditor bundled with PrimeFaces 13