ko @ko

Can I DO <span style=’color: red;’>This</span>

Sep 22, 2022, 8:00 PM
1
View all

comments

Highlighted comment

no:

  • you’ve typed it into the editor: this is just a text box so it just produces text not HTML

  • if you modified the underlying HTML of the text box, it will be removed by a program called ‘DOMPurify’ which whitelists which tags and attributes can be used in posts