This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
Prerequisites
Description
A browser will find the first closing script tag regardless of what Javascript syntax is surrounding it. In Atom, the javascript syntax seems to take precedence over the HTML, such that a terminating script tag within quotes doesn't render properly. This can lead to confusion when it doesn't work as shown in a browser.
Steps to Reproduce
- Create an HTML file
- Add an inline script tag
- Write some string in the javascript containing an unescaped
</script>
Expected behavior:
HTML syntax highlighting should resume immediately after the first closing script tag
Actual behavior:
Javascript syntax highlighting continues as if a closing script tag is valid in a string
Reproduces how often:
Consistently, but only when #242 doesn't occur.
Versions
Atom : 1.53.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
Additional Information
