diff --git a/contrib/user.css b/contrib/user.css index 7e5cbe39..d1bf0e88 100644 --- a/contrib/user.css +++ b/contrib/user.css @@ -46,3 +46,4 @@ entity-reference { color: red } proc-instruction { color: red } attribute { color: magenta } comment { color: aqua } +cdata-section { color: orange2 } diff --git a/src/document/dom/renderer.c b/src/document/dom/renderer.c index 8c04378e..7235a6c5 100644 --- a/src/document/dom/renderer.c +++ b/src/document/dom/renderer.c @@ -127,7 +127,8 @@ init_dom_renderer(struct dom_renderer *renderer, struct document *document, "entity-reference { color: red } " "proc-instruction { color: red } " "attribute { color: magenta } " - "comment { color: aqua } "; + "comment { color: aqua } " + "cdata-section { color: orange2 } "; unsigned char *styles = (unsigned char *) default_colors; i_want_struct_module_for_dom = 1;