|
@@ -128,7 +128,7 @@ class Dictionary(Command): |
|
|
def parse_body(self, body): |
|
|
def parse_body(self, body): |
|
|
substitutions = [ |
|
|
substitutions = [ |
|
|
("<!--(.*?)-->", ""), |
|
|
("<!--(.*?)-->", ""), |
|
|
("\[\[(.*?)\|(.*?)\]\]", r"\2"), |
|
|
|
|
|
|
|
|
("\[\[[^\]|]*?\|([^\]|]*?)\]\]", r"\1"), |
|
|
("\{\{(.*?) of\|(.*?)\}\}", r"\1 of \2."), |
|
|
("\{\{(.*?) of\|(.*?)\}\}", r"\1 of \2."), |
|
|
("\{\{w\|(.*?)\}\}", r"\1"), |
|
|
("\{\{w\|(.*?)\}\}", r"\1"), |
|
|
("\{\{surname(.*?)\}\}", r"A surname."), |
|
|
("\{\{surname(.*?)\}\}", r"A surname."), |
|
|