mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Revert "format_html_part(): save and restore renderer_context.last_tag_for_newline too."
This reverts commit 4abce8e363
.
This was a bad move, anchors ceased to function correctly.
Reported by Witekfl.
This commit is contained in:
parent
7b6cb249ed
commit
39d9f669c9
@ -2065,7 +2065,6 @@ format_html_part(struct html_context *html_context,
|
|||||||
struct part *part;
|
struct part *part;
|
||||||
void *html_state;
|
void *html_state;
|
||||||
struct tag *saved_last_tag_to_move = renderer_context.last_tag_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_empty_format = renderer_context.empty_format;
|
||||||
int saved_margin = html_context->margin;
|
int saved_margin = html_context->margin;
|
||||||
int saved_last_link_to_move = renderer_context.last_link_to_move;
|
int saved_last_link_to_move = renderer_context.last_link_to_move;
|
||||||
@ -2167,7 +2166,6 @@ ret:
|
|||||||
renderer_context.last_link_to_move = saved_last_link_to_move;
|
renderer_context.last_link_to_move = saved_last_link_to_move;
|
||||||
renderer_context.last_tag_to_move = saved_last_tag_to_move;
|
renderer_context.last_tag_to_move = saved_last_tag_to_move;
|
||||||
renderer_context.empty_format = saved_empty_format;
|
renderer_context.empty_format = saved_empty_format;
|
||||||
renderer_context.last_tag_for_newline = saved_last_tag_for_newline;
|
|
||||||
|
|
||||||
html_context->margin = saved_margin;
|
html_context->margin = saved_margin;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user