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:
+2
-2
@@ -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)="
|
||||
|
||||
Reference in New Issue
Block a user