diff options
-rwxr-xr-x | to-wiki/wikiconv2.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py index b239419293..1910828616 100755 --- a/to-wiki/wikiconv2.py +++ b/to-wiki/wikiconv2.py @@ -996,7 +996,8 @@ class Switch(SwitchInline): class Item(ElementBase): replace_type = \ - {'start':{'code': '<code>', + {'start':{'acronym' : '\'\'', + 'code': '<code>', 'input': '<code>', 'keycode': '{{KeyCode|', 'tasto': '{{KeyCode|', @@ -1008,7 +1009,8 @@ class Item(ElementBase): 'productname': '', 'unknown': '<code>' }, - 'end':{'code': '</code>', + 'end':{'acronym' : '\'\'', + 'code': '</code>', 'input': '</code>', 'keycode': '}}', 'tasto': '}}', @@ -1020,7 +1022,8 @@ class Item(ElementBase): 'productname': '', 'unknown': '</code>' }, - 'templ':{'code': False, + 'templ':{'acronym': False, + 'code': False, 'input': False, 'keycode': True, 'tasto': True, |