From e5ac232d3ec2d713e4cd0841ae5ecc62948a37be Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Mon, 21 Jun 2021 20:57:31 +0100 Subject: [PATCH] Try to fix mldr shenanigans --- hugo_enc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')))