Skip to content

Commit fb4ea03

Browse files
fix:items in list are applied translate tags on their type (#18)
1 parent 87b0d5d commit fb4ea03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def process_item(text):
309309
item_content = text[offset:].strip()
310310
if not item_content:
311311
return text
312-
return text[:offset] + ' ' + _wrap_in_translate(item_content) + '\n'
312+
return text[:offset] + ' ' + convert_to_translatable_wikitext(item_content) + '\n'
313313

314314
class double_brackets_types(Enum):
315315
wikilink = 1

0 commit comments

Comments
 (0)