Skip to content

Bad indent on form #14

@YievCkim

Description

@YievCkim

Hi,

I don't know if this behaviour is wanted. But the children and attributes inside a <form> are indented in a strange way:

<form method='POST' action='/notes/destroy/confirm'>
<input type='hidden' name='notekey'
value='{{# if note }}{{ notekey }}{{/ if }}' />
  <p>Delete {{ note.title }} ?</p>
  <br />
  <input type='submit' value='DELETE' />
</form>

I expect this layout:

<form method='POST' action='/notes/destroy/confirm'>
  <input type='hidden'
         name='notekey'
         value='{{# if note }}{{ notekey }}{{/ if }}'>
  <p>Delete {{ note.title }} ?</p>
  <br />
  <input type='submit' value='DELETE'>
</form>

Is there any mean to change the default behavior ?

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions