From 839fd6a651d9b12f1aa0d85ad96234e9cab51c45 Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 13 Jul 2007 01:18:15 +0000 Subject: [PATCH] Prerender and merge close tags git-svn-id: svn://hamptoncatlin.com/haml/trunk@554 7063305b-7217-0410-af8c-cdc13e5119b9 --- lib/haml/engine.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/haml/engine.rb b/lib/haml/engine.rb index 70867ae5..5539d3a0 100644 --- a/lib/haml/engine.rb +++ b/lib/haml/engine.rb @@ -574,11 +574,9 @@ END # Puts a line in @precompiled that will add the closing tag of # the most recently opened tag. def close_tag(tag) - flush_merged_text - @output_tabs -= 1 @template_tabs -= 1 - @precompiled << "_hamlout.close_tag(#{tag.dump}, #{@output_tabs})\n" + push_text("", -1) end # Closes a Ruby block.