mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
Modified viewport's parse_line to use cache.markup_syntax to select markup
This commit is contained in:
parent
6bee0144d8
commit
65799431a1
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class ViewPort(object):
|
|||
|
||||
@classmethod
|
||||
def parse_line(cls, cache, number):
|
||||
return re.search(regexp.GENERIC_VIEWPORT, cache.buffer[number])
|
||||
return re.search(regexp.VIEWPORT[cache.markup_syntax], cache.buffer[number])
|
||||
|
||||
@classmethod
|
||||
def from_line(cls, number, cache):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue