We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ee9eca commit ae6c2bcCopy full SHA for ae6c2bc
1 file changed
app.py
@@ -153,8 +153,8 @@ def process_code_tag(text, tvar_code_id=0):
153
if not content:
154
return text
155
# Wrap the content in <translate> tags
156
- wrapped_content = f'<tvar name=code{tvar_code_id}>{content}</tvar>'
157
- return f"{prefix}{wrapped_content}{suffix}"
+ wrapped_content = f'<tvar name=code{tvar_code_id}>{prefix}{content}{suffix}</tvar>'
+ return wrapped_content
158
159
def process_div(text):
160
"""
0 commit comments