From e23f57d4d70d617146ec44f4b1bda72d1b89fd6c Mon Sep 17 00:00:00 2001 From: angrezichatterbox Date: Sat, 20 Dec 2025 23:50:05 +0530 Subject: [PATCH] fix: place code in the correct place in translate tags added text --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 0925546..17c65fe 100644 --- a/app.py +++ b/app.py @@ -153,8 +153,8 @@ def process_code_tag(text, tvar_code_id=0): if not content: return text # Wrap the content in tags - wrapped_content = f'{content}' - return f"{prefix}{wrapped_content}{suffix}" + wrapped_content = f'{prefix}{content}{suffix}' + return wrapped_content def process_div(text): """