mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
format_html_part(): save and restore renderer_context.last_tag_for_newline too.
This commit is contained in:
parent
a6f3323a4b
commit
4abce8e363
@ -2097,6 +2097,7 @@ format_html_part(struct html_context *html_context,
|
||||
struct html_element *html_state;
|
||||
int saved_last_link_to_move = renderer_context.last_link_to_move;
|
||||
struct tag *saved_last_tag_to_move = renderer_context.last_tag_to_move;
|
||||
struct tag *saved_last_tag_for_newline = renderer_context.last_tag_for_newline;
|
||||
int saved_empty_format = renderer_context.empty_format;
|
||||
int saved_margin = html_context->margin;
|
||||
|
||||
@ -2197,6 +2198,7 @@ ret:
|
||||
renderer_context.last_link_to_move = saved_last_link_to_move;
|
||||
renderer_context.last_tag_to_move = saved_last_tag_to_move;
|
||||
renderer_context.empty_format = saved_empty_format;
|
||||
renderer_context.last_tag_for_newline = saved_last_tag_for_newline;
|
||||
|
||||
html_context->margin = saved_margin;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user