diff --git a/src/document/xml/renderer2.c b/src/document/xml/renderer2.c index b20cd0ca6..74e647e80 100644 --- a/src/document/xml/renderer2.c +++ b/src/document/xml/renderer2.c @@ -325,6 +325,10 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str html_special); if (!html_context) return; +#ifdef CONFIG_CSS + html_context->options->css_enable = 0; +#endif + if (document) { struct node *node = mem_alloc(sizeof(*node));