fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed README syntax to markdown.
[wolnelektury.git]
/
lib
/
librarian
/
bin
/
book2txt.py
diff --git
a/lib/librarian/bin/book2txt.py
b/lib/librarian/bin/book2txt.py
index
413ff67
..
84a8f40
100755
(executable)
--- a/
lib/librarian/bin/book2txt.py
+++ b/
lib/librarian/bin/book2txt.py
@@
-14,7
+14,7
@@
REGEXES = [
(r'<uwaga>(.|\n)*?</uwaga>', ''),
(r'<p[a|e|r|t]>(.|\n)*?</p[a|e|r|t]>', ''),
(r'<[^>]+>', ''),
(r'<uwaga>(.|\n)*?</uwaga>', ''),
(r'<p[a|e|r|t]>(.|\n)*?</p[a|e|r|t]>', ''),
(r'<[^>]+>', ''),
- (r'/\n', ''),
+ (r'/\n', '
\n
'),
(r'---', u'—'),
(r'--', u'-'),
(r',,', u'„'),
(r'---', u'—'),
(r'--', u'-'),
(r',,', u'„'),