X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/be641fe5a98107edfe4fa423337c0bf8a06a9a4b..5329a22cd6643da657dd24546b382ada9e048b68:/librarian/parser.py diff --git a/librarian/parser.py b/librarian/parser.py index 3f9f710..341eaf8 100644 --- a/librarian/parser.py +++ b/librarian/parser.py @@ -57,6 +57,8 @@ class WLDocument(object): if not isinstance(data, unicode): data = data.decode('utf-8') + data = data.replace(u'\ufeff', '') + if swap_endlines: sub = u'
' if preserve_lines: