More PDP-11 documentation additions

This commit is contained in:
Jeff Parsons 2016-12-23 12:51:33 -08:00 committed by Jeff Parsons
commit c77ce735f7
4 changed files with 37 additions and 30 deletions

View file

@ -975,6 +975,7 @@ MarkOut.prototype.convertMDLinks = function(sBlock)
} else {
sURL = net.encodeURL(sURL, this.req, this.fDebug);
}
sURL = sURL.replace(/_/g, "%5F"); // this helps prevent emphasis detection in URLs
sBlock = str.replaceAll(aMatch[0], '<' + sTag + ' ' + sType + '="' + sURL + '"' + sTitle + '>' + sText + '</' + sTag + '>', sBlock);
}
return sBlock;