diff --git a/src/var/lib/tyto/program/tyto.py b/src/var/lib/tyto/program/tyto.py index ba83c13..cc49be1 100644 --- a/src/var/lib/tyto/program/tyto.py +++ b/src/var/lib/tyto/program/tyto.py @@ -261,6 +261,8 @@ def protect_bcodes_quotes(process, post_bottom): in_bcode = False if process == "wip": bcode = '%s\n%s'%(bcode, line) + bcode = bcode.replace('<', '<') + bcode = bcode.replace('>', '>') b64_bcode = b64('Encode', bcode, 'B64.', '.B64') line = b64_bcode @@ -274,6 +276,8 @@ def protect_bcodes_quotes(process, post_bottom): in_quote = False if process == "wip": quote = '%s\n%s'%(quote, line) + quote = quote.replace('<', '<') + quote = quote.replace('>', '>') b64_quote = b64('Encode', quote, 'Q64.', '.Q64') line = b64_quote @@ -357,6 +361,8 @@ def protect_icodes(post_bottom): # No more in code if if c_a == '}' and not c_b == '\\': in_icode = False + src_code = src_code.replace('<', '<') + src_code = src_code.replace('>', '>') code = '%s%s%s'%(code, src_code, words_tags[9][3]) b64_code = b64('Encode', code, 'I64.', '.I64') rep_code = "%s%s%s"%(