We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a57b36 commit 7caf311Copy full SHA for 7caf311
lib/parse.js
@@ -1,5 +1,5 @@
1
/*jshint -W030 */
2
-var tagRE = /<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g;
+var tagRE = /(?:<!--[\S\s]*-->|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g;
3
var parseTag = require('./parse-tag');
4
// re-used obj for quick lookups of components
5
var empty = Object.create ? Object.create(null) : {};
0 commit comments