mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[tags] Set html_context->putsp = HTML_SPACE_ADD at the start of ending element
This commit is contained in:
parent
df534ef818
commit
70a42d7656
@ -164,7 +164,6 @@ put_chrs(struct html_context *html_context, char *start, int len)
|
||||
|
||||
if (isspace(start[len - 1]) && !html_is_preformatted()) {
|
||||
html_context->putsp = HTML_SPACE_SUPPRESS;
|
||||
if (len == 1) return;
|
||||
}
|
||||
html_context->was_br = 0;
|
||||
|
||||
|
@ -4675,6 +4675,7 @@ end_element_2(struct element_info2 *ei, struct source_renderer *renderer, void *
|
||||
int lnb = 0;
|
||||
int kill = 0;
|
||||
|
||||
html_context->putsp = HTML_SPACE_ADD;
|
||||
html_context->was_br = 0;
|
||||
|
||||
/* If this was a non-pairable tag or an <li>; perform no further
|
||||
|
Loading…
x
Reference in New Issue
Block a user