Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 289 by [email protected]: HTML script tag syntax highlight overextends on some html
https://code.google.com/p/vim/issues/detail?id=289

What steps will reproduce the problem?
1. Enter valid HTML, with a script tag in the head
2. Type javascript inside the script tag
3. End the script tag with a valid (but unusual) </script > tag. The space is the issue.

What is the expected output? What do you see instead?
The javascript highlighting should stop at the end script tag. Instead, syntax highlighting continues into the HTML document.

What version of the product are you using? On what operating system?
Vim74, Ubuntu 14.04

Please provide any additional information below.
Line 171;196 can be changed in /runtime/syntax/html.vim to say ..."end=+</script\_[^>]*>+me=s-1"... rather than ..."end=+</script>+me=s-1"... to fix this issue.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui