# HG changeset patch # User IBBoard # Date 1522694520 -3600 # Node ID 67d3ac391320a36e481ff306766d49d9dd4e8f87 # Parent e7a2fbd79035b97b7b23f7cb8112deaf0f80dc3d Reduce colouring for HTML/XML attributes Just colour the string, not the attribute name diff -r e7a2fbd79035 -r 67d3ac391320 nanorc.d/php.nanorc --- a/nanorc.d/php.nanorc Mon Apr 02 19:36:29 2018 +0100 +++ b/nanorc.d/php.nanorc Mon Apr 02 19:42:00 2018 +0100 @@ -32,7 +32,7 @@ # General HTML color brightblue start="<[a-zA-Z/]" end=">" color red "&[^;[[:space:]]]*;" -color yellow "[a-zA-Z_-]+=["']?[^"']+["']" +color yellow "["'][^"']*["']" color green start="" color white start="" # xhtml diff -r e7a2fbd79035 -r 67d3ac391320 nanorc.d/xml.nanorc --- a/nanorc.d/xml.nanorc Mon Apr 02 19:36:29 2018 +0100 +++ b/nanorc.d/xml.nanorc Mon Apr 02 19:42:00 2018 +0100 @@ -3,6 +3,6 @@ color brightblue start="<[a-zA-Z/]" end=">" color red "&[^;[[:space:]]]*;" -color yellow "[a-zA-Z_-]+=["']?[^"']+["']" +color yellow "["'][^"']*["']" color green start="" color magenta start=""