1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00

Ignore boxes with no first-letter style

This commit is contained in:
Guillaume Ayoub 2017-01-02 13:44:03 +01:00
parent 5c9a07bf1a
commit 1031371c7b

View File

@ -418,7 +418,7 @@ def block_container_layout(context, box, max_position_y, skip_stack,
if is_start:
skip = 0
first_letter_style = box.first_letter_style
first_letter_style = getattr(box, 'first_letter_style', None)
else:
skip, skip_stack = skip_stack
first_letter_style = None