aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/stmd.js7
1 files changed, 3 insertions, 4 deletions
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();