1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

This fixes the "blank line is not ignored" bug that has been around for a while.

This was reported by Steve Ross.



git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@108 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
hcatlin 2006-11-02 21:26:37 +00:00
parent 5a5914f852
commit fcc7b01ba7

View file

@ -135,7 +135,7 @@ module Haml
count, line = count_soft_tabs(line)
suppress_render = handle_multiline(count, line, index)
if !suppress_render && count && line
if !suppress_render && count && line && (line.strip.size > 0)
count, line = process_line(count, line, index)
end
end