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

Revert to using ' ' instead of u'\u0020' for a blank

This commit is contained in:
Johannes Duschl 2014-05-27 10:38:29 +02:00
parent 229ab453e5
commit c82e66f912

View File

@ -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