Open koyashiro opened 1 year ago
When formatting the following HTML, unintended newline and indentation characters (space or tab) are inserted into the value attribute of the input element:
<!DOCTYPE html> <html lang="en"> <body> {{ $longLongLongLongLongLongLongLongLongNameVariable := true }} <input type="text" value="{{ if $longLongLongLongLongLongLongLongLongNameVariable }}hello{{ end }}" /> </body> </html>
<!DOCTYPE html> <html lang="en"> <body> {{ $longLongLongLongLongLongLongLongLongNameVariable := true }} <input type="text" value="{{ if $longLongLongLongLongLongLongLongLongNameVariable }} hello {{ end }}" /> </body> </html>
When formatting the following HTML, unintended newline and indentation characters (space or tab) are inserted into the value attribute of the input element:
Before
After