HTML Escaping & multiple updates
-
I was surprised to find that with this plugin that all the html is being escaped before it is entered into the database, I did some looking around and it seems best practice is that you should be escaping the html when you output the message to the page.
The only reason I ask, is that I have been hooking this chat up to an external service by writing to the database, and it surprised me, I can work around it, but If you ever need to output the data to another format, it can get a little hairy.
Additionally I have noticed, If I add multiple entries into the database, only the latest one is added live, it takes a page refresh in order for the others to show up, is this intentional or is there some other catch that I am missing?
- The topic ‘HTML Escaping & multiple updates’ is closed to new replies.