diff options
Diffstat (limited to 'static/js/pichat.js')
| -rw-r--r-- | static/js/pichat.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 8b088db..6046e86 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -169,7 +169,8 @@ function removeOldMessages(){ } function buildMsgContent(content) { - return linkify(escapeHtml(content)); + if (content.substr(0,6) == "<safe>") return content.substr(6,content.length - 13) + else return linkify(escapeHtml(content)); } // todo: |
