diff --git a/pdfplumber/utils.py b/pdfplumber/utils.py index be623e78..f449ae75 100644 --- a/pdfplumber/utils.py +++ b/pdfplumber/utils.py @@ -163,7 +163,7 @@ def get_line_words(chars, tolerance=DEFAULT_X_TOLERANCE): current_word = [] for char in chars_sorted: - if not keep_blank_chars and get_text(char) == " ": + if not keep_blank_chars and get_text(char).isspace(): if len(current_word) > 0: words.append(current_word) current_word = []