diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c
index aad899c35..715c673d3 100644
--- a/src/document/html/renderer.c
+++ b/src/document/html/renderer.c
@@ -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);