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

Updated HTML for Js support #12

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

karanchahal
Copy link
Member

@karanchahal karanchahal commented Oct 20, 2016

Regarding #9 Issue
This fixes Javascript for the HTML parser and avoids highlighting the content inside the <script> tags.
Please review and push it in.

@mbad0la
Copy link
Collaborator

mbad0la commented Aug 21, 2017

Hey @karanchahal , is this ready?

@karanchahal
Copy link
Member Author

Yes this is ready.

@@ -14,13 +15,43 @@ module.exports = (text) => (
let first = false
let escaped = false
let doubleQuotesUsed = false;
let boom = ''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the meaning on boom ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants