From d9e375bb5271e34a84f176d471ca9d4d15071ccc Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 21 Jun 2016 22:29:36 +0200 Subject: handle Change-Id: Id6b828ffdd45530af5fda09046b85cd9fe21eecb --- to-wiki/wikiconv2.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'to-wiki') diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py index 456810d38c..5796ffa51e 100755 --- a/to-wiki/wikiconv2.py +++ b/to-wiki/wikiconv2.py @@ -991,7 +991,8 @@ class Switch(SwitchInline): class Item(ElementBase): replace_type = \ - {'start':{'input': '', + {'start':{'code': '', + 'input': '', 'keycode': '{{KeyCode|', 'tasto': '{{KeyCode|', 'litera': '', @@ -1002,7 +1003,8 @@ class Item(ElementBase): 'productname': '', 'unknown': '' }, - 'end':{'input': '', + 'end':{'code': '', + 'input': '', 'keycode': '}}', 'tasto': '}}', 'litera': '', @@ -1013,7 +1015,8 @@ class Item(ElementBase): 'productname': '', 'unknown': '' }, - 'templ':{'input': False, + 'templ':{'code': False, + 'input': False, 'keycode': True, 'tasto': True, 'litera': False, -- cgit