mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Re-order code in a more logical fashion.
This commit is contained in:
parent
2f8ed27eab
commit
d54f76bec8
@ -1929,20 +1929,19 @@ render_html_document(struct cache_entry *cached, struct document *document,
|
||||
|
||||
if (!init_string(&head)) return;
|
||||
|
||||
renderer_context.g_ctrl_num = 0;
|
||||
renderer_context.cached = cached;
|
||||
if (cached->head) add_to_string(&head, cached->head);
|
||||
|
||||
start = buffer->source;
|
||||
end = buffer->source + buffer->length;
|
||||
|
||||
if (cached->head) add_to_string(&head, cached->head);
|
||||
|
||||
html_context = init_html_parser(cached->uri, &document->options,
|
||||
start, end, &head, &title,
|
||||
put_chars_conv, line_break,
|
||||
html_special);
|
||||
if (!html_context) return;
|
||||
|
||||
renderer_context.g_ctrl_num = 0;
|
||||
renderer_context.cached = cached;
|
||||
renderer_context.convert_table = get_convert_table(head.source,
|
||||
document->options.cp,
|
||||
document->options.assume_cp,
|
||||
|
Loading…
Reference in New Issue
Block a user