diff --git a/hugo_enc/__init__.py b/hugo_enc/__init__.py index 64d3d18..8815936 100755 --- a/hugo_enc/__init__.py +++ b/hugo_enc/__init__.py @@ -86,7 +86,7 @@ def main(): block['data-password'].encode('utf-8')) key = md5.hexdigest() cryptor = AESCrypt(key) - text = ''.join(map(str, block.contents)) + text = ''.join(map(str, block.contents)).replace("…", "…") written = base64.b64encode( cryptor.encrypt(text.encode('utf8')))