summaryrefslogtreecommitdiff
path: root/gen_md.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen_md.py')
-rwxr-xr-xgen_md.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_md.py b/gen_md.py
index 921c468..6c63ef0 100755
--- a/gen_md.py
+++ b/gen_md.py
@@ -101,7 +101,7 @@ def main():
else:
post_buf += '\n\n'
- post_buf += '**Шифровка (тип %d)**:\n> %s\n\n' % (cipher_type, post['text'])
+ post_buf += '**Шифровка (тип %d)**:\n> %s\n\n' % (cipher_type, post['text'].replace("\n", "\n>\n"))
post_buf += '**Расшифровка:**\n> %s' % decoded_text
buf.append(post_buf)