1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[xml] utf-8

It concerns pages modified by js, especially not utf8 encoding.
This commit is contained in:
Witold Filipczyk 2021-07-07 18:05:25 +02:00
parent c12eeb95b0
commit cd8e128e5a

View File

@ -301,8 +301,7 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str
if (!init_string(&head)) return;
if (cached->head) add_to_string(&head, cached->head);
add_to_string(&head, "\r\nContent-Type: text/html; charset=utf-8\r\n");
struct tag *saved_last_tag_to_move = renderer_context.last_tag_to_move;
int saved_empty_format = renderer_context.empty_format;