Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Prioritize HTML comments over regular comments #368

Closed
wants to merge 1 commit into from

Conversation

winstliu
Copy link
Contributor

@winstliu winstliu commented Apr 19, 2016

--> automatically ends a regular // comment for HTML interoperability. For example,

<script type="text/javascript"><!--
       var hello;
//--></script>

is valid HTML and JavaScript and ends the <script> block correctly.

This does not add support for ES6 HTML-style comments.

Unblocks atom/language-html#90.

@winstliu
Copy link
Contributor Author

Misunderstood the intended behavior. // automatically ends upon reaching a </script> tag. This makes the problem much harder to solve though.

@winstliu winstliu deleted the wl-prioritize-html-comments branch April 27, 2016 02:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant