mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[document] parse meta also when there are headers
This commit is contained in:
parent
5baef7e2ef
commit
862dfcc672
@ -271,10 +271,13 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str
|
||||
initialised = 1;
|
||||
}
|
||||
|
||||
if (!document->dom && !cached->head && buffer && buffer->source) {
|
||||
if (!document->dom && buffer && buffer->source) {
|
||||
struct string head;
|
||||
|
||||
if (init_string(&head)) {
|
||||
if (cached->head) {
|
||||
add_to_string(&head, cached->head);
|
||||
}
|
||||
scan_http_equiv(buffer->source, buffer->source + buffer->length, &head, NULL, document->cp);
|
||||
mem_free_set(&cached->head, head.source);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user