Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegEx escape char in an internal script (tag) gets removed #64

Closed
isocroft opened this issue Mar 20, 2019 · 0 comments
Closed

RegEx escape char in an internal script (tag) gets removed #64

isocroft opened this issue Mar 20, 2019 · 0 comments
Assignees
Labels
Type: Bug The issue has indentified a bug

Comments

@isocroft
Copy link

isocroft commented Mar 20, 2019

Package version

v1.0.0

Node.js and npm version

Node = v10.15.1
NPM = v6.4.1

Sample Code (to reproduce the issue)

<script type="text/javascript">
  var pl = /\+/g // the escape char (reverse solidus) is removed by edge and finally renders as `/+/g`
</script>

BONUS (a sample repo to reproduce the issue)

@isocroft isocroft changed the title RegEx in an internal script (inside a script tag) get removed by Edge RegEx in an internal script (inside a script tag) gets removed Mar 20, 2019
@isocroft isocroft changed the title RegEx in an internal script (inside a script tag) gets removed RegEx escape char in an internal script (tag) gets removed Mar 20, 2019
@thetutlage thetutlage self-assigned this Mar 12, 2020
@thetutlage thetutlage added the Type: Bug The issue has indentified a bug label Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The issue has indentified a bug
Projects
None yet
Development

No branches or pull requests

2 participants