Permalink
Browse files

post-merge (abackstrom) remove extraneous var declaration.

  • Loading branch information...
1 parent 8a88206 commit b8c979653e082ea343ffeca70061430b898f3bbb @coreyti coreyti committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/showdown.js
View
@@ -290,7 +290,7 @@ var _StripLinkDefinitions = function(text) {
// attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
text += "~0";
- var text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|(?=~0))/gm,
+ text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|(?=~0))/gm,
function (wholeMatch,m1,m2,m3,m4) {
m1 = m1.toLowerCase();
g_urls[m1] = _EncodeAmpsAndAngles(m2); // Link IDs are case-insensitive

0 comments on commit b8c9796

Please sign in to comment.