diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-09-08 09:11:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-09-11 11:17:40 -0700 |
commit | 3810f76a5939023d01e7ab082a6693e4634f15ad (patch) | |
tree | f991947d675d65521df2d0a187292daca4f7051f /js/stmd.js | |
parent | 9ead350be9302268214801ef966f4f50efc4996a (diff) |
Cleanup.
Diffstat (limited to 'js/stmd.js')
-rwxr-xr-x | js/stmd.js | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -405,10 +405,10 @@ var parseLinkLabel = function() { while ((c = this.peek()) && (c != ']' || nest_level > 0)) { switch (c) { case '`': - this.parseBackticks([]); + this.parseBackticks(); break; case '<': - this.parseAutolink([]) || this.parseHtmlTag([]) || this.parseString(); + this.parseAutolink() || this.parseHtmlTag() || this.parseString(); break; case '[': // nested [] nest_level++; @@ -666,8 +666,7 @@ var parseInline = function() { res = this.parseImage(inlines); break; case '<': - res = this.parseAutolink() || - this.parseHtmlTag(); + res = this.parseAutolink() || this.parseHtmlTag(); break; case '&': res = this.parseEntity(); |