Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.
This repository was archived by the owner on Aug 17, 2023. It is now read-only.

Stop Indenting the contents in textarea tag #72

Open
@Udomomo

Description

@Udomomo

I used textarea tag like below:

%textarea.myclass
    - trans "contents row1"
    - trans "contents row2"

But some indents appeared before each line.

In Ruby haml, this seems a well-known problem and official docs has a guide to avoid it.
http://haml.info/docs/yardoc/file.FAQ.html#how-do-i-stop-haml-from-indenting-the-contents-of-my-pre-and-textarea-tags
But is there's a similar way in django-hamlpy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions