Browse files

fix global variable leak

  • Loading branch information...
1 parent dd8a649 commit b562ba0a3d3018e4a21cb1ced2511cc34c1eb909 Brian Stoner committed Sep 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/markdown.js
View
2 lib/markdown.js
@@ -1091,7 +1091,7 @@ Markdown.DialectHelpers.inline_until_char = function( text, want ) {
return null;
}
- res = this.dialect.inline.__oneElement__.call(this, text.substr( consumed ) );
+ var res = this.dialect.inline.__oneElement__.call(this, text.substr( consumed ) );
consumed += res[ 0 ];
// Add any returned nodes.
nodes.push.apply( nodes, res.slice( 1 ) );

0 comments on commit b562ba0

Please sign in to comment.