From 2f8fc054d05d8ff4b1de1feb05648842a771d41a Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 22 Dec 2019 08:38:43 +0100 Subject: [PATCH] Replace SymLinkOption type name to variable --- data/creole.dtd | 44 ++++++++++++++++++++-------------------- src/rougail/annotator.py | 3 ++- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/data/creole.dtd b/data/creole.dtd index f3b06fca..e512273e 100644 --- a/data/creole.dtd +++ b/data/creole.dtd @@ -58,10 +58,10 @@ - + - + @@ -89,12 +89,12 @@ - + - + @@ -102,42 +102,42 @@ - - + + - + - - - - - - - - + + + + + + + + - - - - + + + + - + - + @@ -149,7 +149,7 @@ - + diff --git a/src/rougail/annotator.py b/src/rougail/annotator.py index ad5619e4..cae9122a 100644 --- a/src/rougail/annotator.py +++ b/src/rougail/annotator.py @@ -64,7 +64,8 @@ FORCE_CHOICE = {'oui/non': ['oui', 'non'], 'schedule': ['none', 'daily', 'weekly', 'monthly'], 'schedulemod': ['pre', 'post']} -KEY_TYPE = {'SymLinkOption': 'symlink', +KEY_TYPE = {'variable': 'symlink', + 'SymLinkOption': 'symlink', 'PortOption': 'port', 'UnicodeOption': 'string', 'NetworkOption': 'network',