You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a partial contains multiple nested standalone sections,the indentation is rendered for each standalone section tag (opening and closing), causing an accumulated indentation preceding a next output.
Context:
I found this issue while trying to develop templates that produce "pretty" formatted code with openapi-generator. It is a very common use case (not only with openapi-generator), that partial contains several nested sections intended to implement complicated if-else conditions, thus this issue makes it impossible to generate a properly indented code.
To Reproduce
Affected versions: 1.16, master (00be427)
Failing test cases:
Description:
When a partial contains multiple nested standalone sections,the indentation is rendered for each standalone section tag (opening and closing), causing an accumulated indentation preceding a next output.
Context:
I found this issue while trying to develop templates that produce "pretty" formatted code with openapi-generator. It is a very common use case (not only with openapi-generator), that partial contains several nested sections intended to implement complicated if-else conditions, thus this issue makes it impossible to generate a properly indented code.
To Reproduce
Affected versions: 1.16, master (00be427)
Failing test cases:
The text was updated successfully, but these errors were encountered: