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:
parent
5c9a07bf1a
commit
1031371c7b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user