mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[xml] Set document->cp
This commit is contained in:
parent
c5569ccb27
commit
2fcf64e9bb
@ -332,6 +332,12 @@ void
|
|||||||
render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer)
|
render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer)
|
||||||
{
|
{
|
||||||
if (!document->dom) {
|
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);
|
document->dom = document_parse(document);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user