stonean/slim — Issue #232: UL cant be indented?
Author: beernutz
Created: 2012-02-14 12:11:18+00:00
State: open

Given the following .slim file, i am getting:

Unexpected text indentation
/rails/pool/app/views/layouts/application.slim, Line 26
ul
^

I admit that i am new to slim, but it LOOKS like it is correct.

Please advise.

the following was indented one extra tab to facilitate github code display.
Line 26 is just below li.home.current: a href="#" title="Home" Home

doctype 5
html
head
title Iowa Pool Players
meta charset="utf-8"
= stylesheet_link_tag "application"
/[ if lte IE 8 ]
= stylesheet_link_tag "application-ie", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags

body
|
|

p here we are

header
.container_12
p.skin-name: strong Iowa Pool Players

nav#main-nav

ul.container_12
li.home.current: a href="#" title="Home" Home
ul
li.current: a href="#" title="Current News" Current News
li: a href="#" title="All News Items" All News Items

li.write: a href="#" title="Write" Write
ul
li: a href="#" title="Articles" Articles
li: a href="#" title="Add article" Add article
li: a href="#" title="Posts" Posts
li: a href="#" title="Add post" Add post

li.comments: a href="#" title="Comments" Comments
ul
li: a href="#" title="Manage" Manage
li: a href="#" title="Spams" Spams

== yield

|
|