maybe fix #152 (haven’t checked)

This commit is contained in:
Stefan Breunig
2013-02-13 16:28:20 +01:00
parent fbd892e88d
commit cf17fef699

View File

@ -271,7 +271,7 @@ window.chat.writeDataToHash = function(newData, storageHash, skipSecureMsgs) {
break; break;
case 'TEXT': case 'TEXT':
var tmp = markup[1].plain.autoLink(); var tmp = $('<div/>').text(markup[1].plain).html().autoLink();
msg += tmp.replace(window.PLAYER['nickMatcher'], '<em>$1</em>'); msg += tmp.replace(window.PLAYER['nickMatcher'], '<em>$1</em>');
break; break;