|
@@ -434,7 +434,8 @@ class Tokenizer(object): |
|
|
continue |
|
|
continue |
|
|
if this is self.END: |
|
|
if this is self.END: |
|
|
fail = (contexts.TEMPLATE | contexts.ARGUMENT | |
|
|
fail = (contexts.TEMPLATE | contexts.ARGUMENT | |
|
|
contexts.HEADING | contexts.COMMENT) |
|
|
|
|
|
|
|
|
contexts.WIKILINK | contexts.HEADING | |
|
|
|
|
|
contexts.COMMENT) |
|
|
if self._context & contexts.TEMPLATE_PARAM_KEY: |
|
|
if self._context & contexts.TEMPLATE_PARAM_KEY: |
|
|
self._pop() |
|
|
self._pop() |
|
|
if self._context & fail: |
|
|
if self._context & fail: |
|
|