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

Stop Indenting the contents in textarea tag #72

Open
Udomomo opened this issue Aug 6, 2018 · 0 comments
Open

Stop Indenting the contents in textarea tag #72

Udomomo opened this issue Aug 6, 2018 · 0 comments

Comments

@Udomomo
Copy link

Udomomo commented Aug 6, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant