diff options
Diffstat (limited to 'static')
| -rwxr-xr-x | static/pichat.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/static/pichat.js b/static/pichat.js index fe5beaa..826bcba 100755 --- a/static/pichat.js +++ b/static/pichat.js @@ -144,9 +144,14 @@ function initChat() { } function initProfile() { + $('.logged-dump .content').each(function() { + var t = $(this); + t.html(buildMsgContent(t.text())); + }); + var onSubmit = function(original_element, edit, old) { if (edit == old) { return old }; - // Prevent entering script tags. TODO: investigate better scheme. + // MAJOR TODO: Prevent entering script tags if (original_element == 'avatar' && edit.indexOf("<") != -1) { return old; } |
