Skip to content

Commit

Permalink
[blockquote] Count also blockquote_level and margin while realloc lin…
Browse files Browse the repository at this point in the history
…es. Refs #214
  • Loading branch information
rkd77 committed Apr 25, 2023
1 parent 61f6c2a commit 5e2610b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document/html/renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ expand_lines(struct html_context *html_context, struct part *part,
}

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) {
draw_blockquote_chars(part, y + line, html_context);
Expand Down

0 comments on commit 5e2610b

Please sign in to comment.