1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 03:40:12 +02:00

🐛 dinglehopper: Normalize in plain_extract()

This commit is contained in:
Gerber, Mike 2020-11-10 18:51:14 +01:00
parent 14421c8e53
commit 32a4b95a99

View file

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