Test showing wrap_layout is still broken when used with haml
This commit is contained in:
parent
d8d4769702
commit
9b5d1f17d0
6 changed files with 27 additions and 0 deletions
|
@ -336,6 +336,11 @@ module Middleman
|
|||
@_out_buf = _buf_was
|
||||
end
|
||||
layout_path = locate_layout(layout_name, current_engine)
|
||||
|
||||
if !@_out_buf
|
||||
raise "wrap_layout is currently broken for this templating system"
|
||||
end
|
||||
|
||||
@_out_buf.concat render_individual_file(layout_path, @current_locs || {}, @current_opts || {}, self) { content }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue