Skip to content

Commit f32b7be

Browse files
committed
Merge pull request evilstreak#61 from bsstoner/master
Declared 'res' var locally so it isn't global
2 parents dd8a649 + b562ba0 commit f32b7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/markdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ Markdown.DialectHelpers.inline_until_char = function( text, want ) {
10911091
return null;
10921092
}
10931093

1094-
res = this.dialect.inline.__oneElement__.call(this, text.substr( consumed ) );
1094+
var res = this.dialect.inline.__oneElement__.call(this, text.substr( consumed ) );
10951095
consumed += res[ 0 ];
10961096
// Add any returned nodes.
10971097
nodes.push.apply( nodes, res.slice( 1 ) );

0 commit comments

Comments
 (0)