diff nanorc.d/php.nanorc @ 96:67d3ac391320

Reduce colouring for HTML/XML attributes Just colour the string, not the attribute name
author IBBoard <dev@ibboard.co.uk>
date Mon, 02 Apr 2018 19:42:00 +0100
parents 5f2c5800fa8a
children 79a926514260
line wrap: on
line diff
--- 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="<!--" end="-->"
 color white start="<!DOCTYPE" end=">"
 # xhtml