fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strip BOM
[librarian.git]
/
librarian
/
parser.py
diff --git
a/librarian/parser.py
b/librarian/parser.py
index
3f9f710
..
341eaf8
100644
(file)
--- 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'<br/>'
if preserve_lines: