Changeset 12247 in josm


Ignore:
Timestamp:
2017-05-24T11:22:23+02:00 (7 years ago)
Author:
stoecker
Message:

try another color

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r12246 r12247  
    155155            }
    156156        } else if(options.xhtmlbody || options.xhtml) {
    157             String color = s.startsWith("***") ? "black" : ((s.startsWith("+ ") || s.startsWith("+++ ELI")) ? "blue" :  (s.startsWith("#") ? "chocolate" : "red"))
     157            String color = s.startsWith("***") ? "black" : ((s.startsWith("+ ") || s.startsWith("+++ ELI")) ? "blue" :  (s.startsWith("#") ? "indigo" : "red"))
    158158            s = "<pre style=\"margin:3px;color:"+color+"\">"+s.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;")+"</pre>"
    159159        }
Note: See TracChangeset for help on using the changeset viewer.