handlebars-mode
handlebars-mode copied to clipboard
Bad indent on form
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