1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Render content of CDATA sections with orange2 (in lack of something better)

This commit is contained in:
Jonas Fonseca 2005-12-26 19:56:07 +01:00 committed by Jonas Fonseca
parent e28f3fc592
commit c99b1cc2cc
2 changed files with 3 additions and 1 deletions

View File

@ -46,3 +46,4 @@ entity-reference { color: red }
proc-instruction { color: red } proc-instruction { color: red }
attribute { color: magenta } attribute { color: magenta }
comment { color: aqua } comment { color: aqua }
cdata-section { color: orange2 }

View File

@ -127,7 +127,8 @@ init_dom_renderer(struct dom_renderer *renderer, struct document *document,
"entity-reference { color: red } " "entity-reference { color: red } "
"proc-instruction { color: red } " "proc-instruction { color: red } "
"attribute { color: magenta } " "attribute { color: magenta } "
"comment { color: aqua } "; "comment { color: aqua } "
"cdata-section { color: orange2 } ";
unsigned char *styles = (unsigned char *) default_colors; unsigned char *styles = (unsigned char *) default_colors;
i_want_struct_module_for_dom = 1; i_want_struct_module_for_dom = 1;