Closed complex64 closed 8 years ago
- if ($image != null) %img{:src => $image} - else Image not found
Should render to:
<img src="..."></img>
Instead it renders to:
The snippet not only bears the original indentation but additionally HamlPHP introduces two white-spaces between the img tag and its src attribute.
img
src
Rendered html "beauty" isn't really a big concern. As in most of the time you won't be editing the generated html/php. I'll leave it open though and fix it after finishing other planned features.
Should render to:
Instead it renders to:
The snippet not only bears the original indentation but additionally HamlPHP introduces two white-spaces between the
img
tag and itssrc
attribute.