rails slim syntax error

ruby-on-rails, slim-lang

Solution

Without seeing the raw source I can only guess that your text editor inserted tabs instead of spaces on the subsequent lines that are at the same level of indentation. Make sure everything is spaces?

Problem

I try to make a simple table in slim ``` table class="table table-striped" thead tr th username ``` it works fine but when I try to add another th or tbody I got an error Malformed indentation, for example this code doesn't work for me ``` table class="table table-striped" thead tr th username th provider ``` or ``` table class="table table-striped" thead tr th username tbody tr td test ``` can anybody help me?

Original source