1
0
mirror of https://github.com/twisterarmy/twister-html.git synced 2025-03-13 05:51:03 +00:00

fix apostrophe in URLs (currently it is displayed as ')

This commit is contained in:
Denis Ryabov 2015-03-08 19:19:43 +03:00
parent e03b1da4d2
commit 6ca9151eb2

@ -208,7 +208,7 @@ function htmlFormatMsg( msg, output, mentions ) {
if( space != -1 ) url = tmp.substring(0,space); else url = tmp;
if( url.length ) {
msg = tmp.substr(String(url).length);
url = url.replace(/&/g, '&');
url = reverseHtmlEntities(url);
var extLinkTemplate = $("#external-page-link-template").clone(true);
extLinkTemplate.removeAttr("id");