🐛 dinglehopper: Normalize in plain_extract()

pull/46/head
Gerber, Mike 4 years ago
parent 14421c8e53
commit 32a4b95a99

@ -113,12 +113,13 @@ def plain_extract(filename):
return ExtractedText( return ExtractedText(
None, None,
[ [
ExtractedText("line %d" % no, None, None, line) ExtractedText("line %d" % no, None, None, normalize_sbb(line))
for no, line in enumerate(f.readlines()) for no, line in enumerate(f.readlines())
], ],
"\n", "\n",
None, None,
) )
# XXX hardcoded SBB normalization
def plain_text(filename): def plain_text(filename):

Loading…
Cancel
Save