Code indentation affecting the position of items in a table

Hi @NicoleP ,

Thank you for sharing this.

We highly support that you are trying to structure your code this way to keep the code readable and maintainable. This is definitely a good practice :+1: .

However, in our HTML table functionality it’s currently not possible to add new lines in your code without creating a new line in your template. We have this on our list of improvements, but as a workaround you could try to add the {% stripnewlines %} tag around your table.

More information on the use of the tag can be found here: Styling and CASE: make your code readable with stripnewlines and newline (note that the newline tag is deprecated for HTML table purposes).

Hope this helps! If not, do not hesitate to reach out.

Kind regards,
Robin