Closed felix9 closed 2 months ago
The lookahead pattern here in parserlib.js matches <style*> when it should be something like <style[^>]*> instead. There's a similar problem for <script> right above.
lookahead
<style*>
<style[^>]*>
<script>
This means that tags like <style id=x> or <script type=y> don't work.
<style id=x>
<script type=y>
<style> and <script> without attributes are fine.
<style>
The
lookahead
pattern here in parserlib.js matches<style*>
when it should be something like<style[^>]*>
instead. There's a similar problem for<script>
right above.This means that tags like
<style id=x>
or<script type=y>
don't work.<style>
and<script>
without attributes are fine.