Closed bantic closed 12 years ago
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.
If I do
%img src="path/to/img.png"
then I get the errorAttributeError: 'TemplateSyntaxError' object has no attribute 'msg'
(from line 40 inpreprocess
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.