fix
[wolnelektury.git] / src / catalogue / api / tojson.py
index 2fddda9..3d47cd9 100644 (file)
@@ -121,7 +121,7 @@ front2 = set(['autor_utworu'])
 
 
 def norm(text):
 
 
 def norm(text):
-    text = text.replace('---', '—').replace('--', '–').replace('...', '…').replace(',,', '„').replace('"', '”')
+    text = text.replace('---', '—').replace('--', '–').replace('...', '…').replace(',,', '„').replace('"', '”').replace('\n', ' ')
     return text
 
 
     return text