Handle ',' as flow indicator after tag shorthand

This commit is contained in:
Felix Krause 2016-03-17 19:45:01 +01:00
parent 4eb9685a57
commit 7edb682844
1 changed files with 4 additions and 1 deletions

View File

@ -779,7 +779,10 @@ template tagHandle(lexer: var BaseLexer, content: var string,
shorthandEnd = i
content.add(c)
of 'a' .. 'z', 'A' .. 'Z', '0' .. '9', '#', ';', '/', '?', ':', '@', '&',
'-', '=', '+', '$', ',', '_', '.', '~', '*', '\'', '(', ')':
'-', '=', '+', '$', '_', '.', '~', '*', '\'', '(', ')':
content.add(c)
of ',':
if shortHandEnd > 0: break # ',' after shorthand is flow indicator
content.add(c)
of '<':
if i == 1: