Prerender and merge close tags
git-svn-id: svn://hamptoncatlin.com/haml/trunk@554 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
ab1dffda9e
commit
839fd6a651
|
@ -574,11 +574,9 @@ END
|
||||||
# Puts a line in <tt>@precompiled</tt> that will add the closing tag of
|
# Puts a line in <tt>@precompiled</tt> that will add the closing tag of
|
||||||
# the most recently opened tag.
|
# the most recently opened tag.
|
||||||
def close_tag(tag)
|
def close_tag(tag)
|
||||||
flush_merged_text
|
|
||||||
|
|
||||||
@output_tabs -= 1
|
@output_tabs -= 1
|
||||||
@template_tabs -= 1
|
@template_tabs -= 1
|
||||||
@precompiled << "_hamlout.close_tag(#{tag.dump}, #{@output_tabs})\n"
|
push_text("</#{tag}>", -1)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Closes a Ruby block.
|
# Closes a Ruby block.
|
||||||
|
|
Loading…
Reference in New Issue