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

[html] Sites with ISO-8859-2 encoding displayed garbage.

This commit is contained in:
Witold Filipczyk 2023-05-29 13:07:26 +02:00
parent 1a05e20203
commit d6cb06f105

View File

@ -2605,11 +2605,8 @@ render_html_document(struct cache_entry *cached, struct document *document,
put_chars_conv, line_break, put_chars_conv, line_break,
html_special); html_special);
if (!html_context) return; if (!html_context) return;
#ifdef CONFIG_ECMASCRIPT
xml2 = !!document->dom; xml2 = !!document->dom;
#else
xml2 = 0;
#endif
renderer_context.g_ctrl_num = 0; renderer_context.g_ctrl_num = 0;
renderer_context.cached = cached; renderer_context.cached = cached;
renderer_context.convert_table = get_convert_table(head.source, renderer_context.convert_table = get_convert_table(head.source,