From 3810f76a5939023d01e7ab082a6693e4634f15ad Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 8 Sep 2014 09:11:17 -0700 Subject: Cleanup. --- js/stmd.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'js') diff --git a/js/stmd.js b/js/stmd.js index 330ebef..5b97666 100755 --- a/js/stmd.js +++ b/js/stmd.js @@ -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(); -- cgit v1.2.3