Thinkphp is it because of the prevention of XSS that every time you submit content with the editor, some symbols are escaped, which causes the pictures that cannot be edited in the editor to display properly? Always encountered this problem before. At first I thought it was an editor problem, and then I changed the editor or there was a problem.
Reply content:
Thinkphp is it because of the prevention of XSS that every time you submit content with the editor, some symbols are escaped, which causes the pictures that cannot be edited in the editor to display properly? Always encountered this problem before. At first I thought it was an editor problem, and then I changed the editor or there was a problem.
I'll answer it myself. Yes..
One of the easiest strategies for preventing XSS is to filter the appropriate fields or code. But there are too many unusual fields for a rich text editor.
So, for normal display, you have to escape or filter out some double quotes every time.