X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2903250a90904488ff3de04ecbbf2b6b5c421839..9910cd8ebdd584d75b86686f66241eff86f3ac8c:/lib/librarian/bin/book2txt.py?ds=inline diff --git a/lib/librarian/bin/book2txt.py b/lib/librarian/bin/book2txt.py index 86f6f1274..413ff674b 100755 --- a/lib/librarian/bin/book2txt.py +++ b/lib/librarian/bin/book2txt.py @@ -11,10 +11,10 @@ REGEXES = [ (r']*>(.|\n)*?', ''), ('<(begin|end)\\sid=[\'|"][b|e]\\d+[\'|"]\\s/>', ''), (r'(()|())', ''), - (r'[^<]*', ''), - (r'(.|\n)*?

', ''), + (r'(.|\n)*?', ''), + (r'(.|\n)*?', ''), (r'<[^>]+>', ''), - (r'/$', ''), + (r'/\n', ''), (r'---', u'—'), (r'--', u'-'), (r',,', u'„'),