Reputation: 913
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?
Upvotes: 6
Views: 3446
Reputation: 6397
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?
Upvotes: 12