Skip to content

Commit

Permalink
make xmlparser pretest stricter
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoThePoro committed Jan 22, 2018
1 parent 6413f5e commit 579d413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parsers.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports =
xmlparser:
name: "xml"
trigger: /<\/$/
test: /^</
test: /^<.*?>/
parse: (text) ->
result = {
opening: false
Expand Down

0 comments on commit 579d413

Please sign in to comment.