diff options
author | rusinthread <rusinthread@cock.li> | 2017-02-23 12:57:35 +0300 |
---|---|---|
committer | rusinthread <rusinthread@cock.li> | 2017-02-23 12:57:35 +0300 |
commit | b294d013b98b603b24e6087833bcb2fc506fce33 (patch) | |
tree | f95671e8298c1335f2a828dfc6969c63502070f1 /gen_md.py | |
parent | 2f29cc839997673f5f6fc8f92a74a986ccd80301 (diff) |
fix for multiline ciphertexts
Diffstat (limited to 'gen_md.py')
-rwxr-xr-x | gen_md.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |