mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Allow mixin definitions to have a space between the = and the name.
This commit is contained in:
parent
452b2c2584
commit
c2312ecb01
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ END
|
|||
end
|
||||
|
||||
def parse_mixin_definition(line)
|
||||
mixin_name = line[1..-1]
|
||||
mixin_name = line[1..-1].strip
|
||||
@mixins[mixin_name] = []
|
||||
index = @line
|
||||
line, tabs = @lines[index]
|
||||
|
|
Loading…
Add table
Reference in a new issue