Revert Revision 338
That didn't work with nested includes: A: [[!include B]] B: [[!include C]] C: fubar! Added a test for that issue.
This commit is contained in:
parent
41006d20ef
commit
a6d80426a9
3 changed files with 24 additions and 11 deletions
|
@ -32,6 +32,7 @@ class Include < WikiChunk::WikiReference
|
|||
when :show then renderer.display_content
|
||||
when :publish then renderer.display_published
|
||||
when :export then renderer.display_content_for_export
|
||||
when :s5 then renderer.display_s5
|
||||
else
|
||||
raise "Unsupported rendering mode #{@mode.inspect}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue