Merge pull request #44 from stiemannkj1/master

Fixes #43: html.nanorc yellow regex is greedy and matches all quotes until the final quote.
This commit is contained in:
Anthony Scopatz 2014-09-30 15:20:40 -07:00
commit 44d0c55b36

View File

@ -3,5 +3,5 @@
syntax "html" "\.htm[l]?$"
color brightblue start="<" end=">"
color red "&[^;[[:space:]]]*;"
color yellow "".*"|qq\|.*\|"
color red "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
color yellow ""[^"]*"|qq\|.*\|"
color red "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="