xmlet / HtmlFlow

HtmlFlow Java DSL to write typesafe HTML
https://htmlflow.org/
MIT License
154 stars 27 forks source link

indentation on html textarea element #117

Open benjamin-dreux opened 5 days ago

benjamin-dreux commented 5 days ago

In an app i'v noticed that html content is always indented by default. Which could be an issue for some, to me it's great.

But the content of html element textarea is also indented

                                                                <textarea class="input" placeholder="A brief description for this project" name="projectDescription" rows="5">
                                                                    ceci est une description de projet
sur deux lignes
                                                                </textarea>

Which end up adding extra white space to the content of project description field or at least that's my understanding.

benjamin-dreux commented 1 day ago

Using what was show here https://github.com/xmlet/HtmlFlow/issues/116

I assume that i can stop the indentation from appening and my bug will be fixed.

Still, i like having indentation for every other elements and i think this should be teaked

fmcarvalho commented 1 day ago

Yes, you are right.