Browse Source

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

master
Denis Ryabov 10 years ago
parent
commit
6ca9151eb2
  1. 2
      js/twister_formatpost.js

2
js/twister_formatpost.js

@ -208,7 +208,7 @@ function htmlFormatMsg( msg, output, mentions ) { @@ -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");

Loading…
Cancel
Save