public
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
Bugfix for http://groups-beta.google.com/group/haml/t/529d9e922327aa91, 
version 1.0.1 created.


git-svn-id: svn://hamptoncatlin.com/haml/tags/rel_1-0-1@267 
7063305b-7217-0410-af8c-cdc13e5119b9
nex3 (author)
Tue Dec 26 08:57:10 -0800 2006
commit  d78fa94a704cfd0b3391cfd136d726836dcf2bc1
tree    7c4eb225c7da070b059381cf7bef29d1e09f171b
parent  e8b28cd3c0033c1d2eb73c564dd0a1238f2b2e05
...
1
 
...
 
1
0
@@ -1 +1 @@
0
-1.0.0
0
+1.0.1
...
158
159
160
161
 
162
163
164
...
158
159
160
 
161
162
163
164
0
@@ -158,7 +158,7 @@ module Haml
0
         line = line.strip
0
         
0
         if old_line
0
- block_opened = tabs > old_tabs
0
+ block_opened = tabs > old_tabs && !line.empty?
0
           
0
           suppress_render = handle_multiline(old_tabs, old_line, old_index)
0
           
...
8
9
10
 
11
12
13
...
8
9
10
11
12
13
14
0
@@ -8,6 +8,7 @@
0
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
0
 <strong apos="Foo's bar!">Boo!</strong>
0
 <div class='render'><em>wow!</em></div>
0
+stuff followed by whitespace
0
 <p>
0
   Escape
0
   - character
...
8
9
10
 
 
11
12
13
...
8
9
10
11
12
13
14
15
0
@@ -8,6 +8,8 @@
0
 !!! FRAMESET
0
 %strong{:apos => "Foo's bar!"} Boo!
0
 .render= render :inline => "%em= 'wow!'", :type => :haml
0
+= "stuff followed by whitespace"
0
+
0
 %p
0
   \Escape
0
   \- character

Comments

    No one has commented yet.