%img with 'src' attribute causes error
Closed this issue · 3 comments
If I do %img src="path/to/img.png"
then I get the error AttributeError: 'TemplateSyntaxError' object has no attribute 'msg'
(from line 40 in preprocess
of hamlish_jinja.py).
This seems to be specific to the %img tag, because if I do %a src="path/to/img.png"
then it prints out <a src="path/to/img.png"></a>
as expected.
I've noticed that this seems to work in some cases but not others. I definitely have imgs working correctly in other .haml
files, so I'm not sure what all the necessary conditions to reproduce this are.
It's possible this is also because of the old 0.1.0 version.
But i cant reproduce with 0.1.0 version or the latest from git.
Can you post the whole template?
This works fine when I installed from git, thanks.