Fix security breach.

This commit is contained in:
Pierre HUBERT
2018-12-08 19:03:53 +01:00
parent 089739e141
commit c2eba7b3be
2 changed files with 24 additions and 1 deletions

View File

@ -826,7 +826,7 @@ ComunicWeb.components.posts.ui = {
appendTo: postRoot,
type: "div",
class: "post_content",
innerHTML: info.content
innerHTML: removeJavascriptEventsFromHTML(info.content)
});
//Parse emojies