1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[blockquote] Count also blockquote_level and margin while realloc lines. Refs #214

This commit is contained in:
Witold Filipczyk 2023-04-05 16:23:26 +02:00
parent 61f6c2a299
commit 5e2610b691

View File

@ -366,7 +366,7 @@ expand_lines(struct html_context *html_context, struct part *part,
} }
for (line = 0; line < lines; line++) { for (line = 0; line < lines; line++) {
realloc_line(html_context, part->document, Y(y + line), X(x)); realloc_line(html_context, part->document, Y(y + line), X(x) + par_elformat.blockquote_level + par_elformat.orig_leftmargin);
if (par_elformat.blockquote_level) { if (par_elformat.blockquote_level) {
draw_blockquote_chars(part, y + line, html_context); draw_blockquote_chars(part, y + line, html_context);