1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04:00

[xml] Set document->cp

This commit is contained in:
Witold Filipczyk 2022-11-09 21:24:30 +01:00
parent c5569ccb27
commit 2fcf64e9bb

View File

@ -332,6 +332,12 @@ void
render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer)
{
if (!document->dom) {
(void)get_convert_table(cached->head, document->options.cp,
document->options.assume_cp,
&document->cp,
&document->cp_status,
document->options.hard_assume);
document->dom = document_parse(document);
}