diff --git a/ChangeLog b/ChangeLog index e246f297ee6aa1c9a28758c57bb122eb351c977c..b2ced54247f7a8d7f2b2d160f12ff4b144b14658 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-22 Lauri Kasanen <laxy@Savannah> (tiny change) + * doc/syntax/html.nanorc - Also recognize htm as extension, + use cyan for tags (more visible on dark background), correct + the expression for ampersand codes, and colour strings too. + 2014-02-22 Dennis Jenkins <dennisjenkins@Savannah> (tiny change) * doc/syntax/c.nanorc - Also recognize c++ as extension. diff --git a/doc/syntax/html.nanorc b/doc/syntax/html.nanorc index c94bfec9c18e57bed0f632947abd0585d5fb434f..5066da445f7427b07cc9352a57237718ca2fd4f9 100644 --- a/doc/syntax/html.nanorc +++ b/doc/syntax/html.nanorc @@ -1,6 +1,7 @@ ## Here is a short example for HTML. ## -syntax "html" "\.html$" +syntax "html" "\.html?$" magic "HTML document text" -color blue start="<" end=">" -color red "&[^;[[:space:]]]*;" +color cyan start="<" end=">" +color red "&[^;[:space:]]*;" +color green ""(\\.|[^"])*""