diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-03 19:05:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-03 19:06:07 -0800 |
commit | 42d75e3a6e66b334ca701a866c0517dcec8b0118 (patch) | |
tree | 2235d6feaf442d6000e29af5291e71eca9c737f1 /js/test.js | |
parent | 2a477bb14758a2849c1e8aa14bafba6bb749bf35 (diff) |
Improved js regex for html comments.
Closes #263. Note, this only affects inline comments.
With block comments we parse differently, and don't guarantee
that only valid HTML5 comments will pass. This all needs to
be made more explicit in the spec.
However, this fix addresses the cpu problem.
Diffstat (limited to 'js/test.js')
0 files changed, 0 insertions, 0 deletions