HamlPy icon indicating copy to clipboard operation
HamlPy copied to clipboard

A converter of HAML like templates into Django templates.

Results 42 HamlPy issues
Sort by recently updated
recently updated
newest added

When I try to encode a file with Cyrillic characters, it works ok. But when I try writing it to stdout, it fails: ``` %html %head %meta{:charset => "utf-8"} %meta{:property...

Since python 3 is more unicode friendly and even django has started to support python3. I think having a python 3 version is reasonable. There should exist some general way...

Does anyone know of a linter for the HamlPy syntax?

A template that uses the `{% verbatim %}` template tag as `- verbatim` raises a TemplateSyntaxError: "Unclosed tag 'verbatim'. Looking for one of: endverbatim." Sample template that fails: ``` -...

HamlPy fails to load when an application is run from a packed Python library, such as one produced by py2exe: ``` Traceback (most recent call last): File "django\core\handlers\base.pyo", line 140,...

The `preserve` tag is used to keep newline characters. From the haml source code: ``` Takes any string, finds all the newlines, and converts them to HTML entities so they'll...

Jinja2 has macro/endmacro and call/endcall tags

In case you are using Jinja2 with HamlPy, you may be interested in more compact expressions for dynamic attributes, for example ``` haml - extends 'campaign/base.html' - block main_content %h1...

It's hard to describe my problem in summary, so i do it in example I want to get html with `div` with `img` inside. Sometimes I want to assign one...