mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[xml] Do not override headers if they did not change.
This commit is contained in:
parent
a5c6adb7db
commit
86edf56482
@ -314,6 +314,8 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str
|
|||||||
buffer = &tt;
|
buffer = &tt;
|
||||||
document->text = tt.source;
|
document->text = tt.source;
|
||||||
}
|
}
|
||||||
|
if (add_to_head) {
|
||||||
mem_free_set(&cached->head, head.source);
|
mem_free_set(&cached->head, head.source);
|
||||||
|
}
|
||||||
render_html_document(cached, document, buffer);
|
render_html_document(cached, document, buffer);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user