Home › Forums › General Discussions › Portal Issues and Improvements › Formatted text being converted to html entities › Reply To: Formatted text being converted to html entities
-
Hi Learn3r.31337
Thank you for posting. It seems that the issue you’re facing is related to how the editor processes HTML content, especially when pasting text that includes formatting from other sources like emails.
When you paste content into the editor, it initially appears correctly due to HTML support. However, during posting or saving, HTML tags are converted into entities (e.g., <font> becomes <font>) to prevent XSS attacks. This conversion can cause HTML tags to display as plain text, which disrupts the intended formatting.
To avoid issues with HTML tags displaying as plain text when pasting content:
1. Paste as Plain Text: Use Ctrl + Shift + V (or Cmd + Shift + V on Mac) to paste without formatting.
2. Clean Up HTML Manually: Switch to the HTML/source code view and remove unnecessary tags.
If you encounter any other issues or need further assistance, please feel free to reach out
Cheers,
Irene @ Tutorials Dojo