1
0
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:
Witold Filipczyk 2021-06-24 20:00:43 +02:00
parent df534ef818
commit 70a42d7656
2 changed files with 1 additions and 1 deletions

View File

@ -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;

View File

@ -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