Permalink
Browse files

bug

  • Loading branch information...
1 parent 1ba76f9 commit d4758118f4cd213186b3b9771bf13625fd7ad9c4 @zoharbabin zoharbabin committed Mar 2, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 javascripts/showdown.js
@@ -655,7 +655,7 @@ var writeAnchorTag = function(wholeMatch,m1,m2,m3,m4,m5,m6,m7) {
result += " title=\"" + title + "\"";
}
- result += " target="_blank">" + link_text + "</a>";
+ result += " target=\"_blank\">" + link_text + "</a>";
return result;
}
@@ -1276,7 +1276,7 @@ var _EncodeBackslashEscapes = function(text) {
var _DoAutoLinks = function(text) {
- text = text.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,"<a href=\"$1\" target="_blank">$1</a>");
+ text = text.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,"<a href=\"$1\" target=\"_blank\">$1</a>");
// Email addresses: <address@domain.foo>

0 comments on commit d475811

Please sign in to comment.