diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-09-24 22:23:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-09-24 22:23:09 -0700 |
commit | 7f4b2f7f3949f807d5dafe2219280a0f1419b0e2 (patch) | |
tree | da17d916b4c6835ce2bc06c48b2b4ec32bb43d89 /js/stmd.js | |
parent | 518eaeca38dfc6f840907f6bcc1ce28826801888 (diff) |
Fixed bug that causes hang on bare `<` inside link label.
Diffstat (limited to 'js/stmd.js')
-rwxr-xr-x | js/stmd.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -534,9 +534,8 @@ this.parseBackticks(); break; case '<': - if (!(this.parseAutolink())) { - this.parseHtmlTag(); - } + this.parseAutolink() || this.parseHtmlTag() || + this.pos++; break; case '[': // nested [] nest_level++; |