fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9910cd8
)
Fixed removing '/' in book2txt.py.
author
Marek Stępniowski
<marek@stepniowski.com>
Mon, 15 Sep 2008 15:39:47 +0000
(17:39 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Mon, 15 Sep 2008 15:39:47 +0000
(17:39 +0200)
lib/librarian/bin/book2txt.py
patch
|
blob
|
history
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'„'),