mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 16:37:47 +03:00
Revert to using ' ' instead of u'\u0020' for a blank
This commit is contained in:
parent
229ab453e5
commit
c82e66f912
@ -468,7 +468,7 @@ def split_first_line(text, style, hinting, max_width, line_width):
|
||||
first_part = ''
|
||||
second_part = text
|
||||
|
||||
next_word = second_part.split(u'\u0020', 1)[0]
|
||||
next_word = second_part.split(' ', 1)[0]
|
||||
|
||||
if not next_word:
|
||||
# We did not find a word on the next line
|
||||
|
Loading…
Reference in New Issue
Block a user