diff lib/redmine/wiki_formatting/macros.rb @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children cbb26bc654de
line wrap: on
line diff
--- a/lib/redmine/wiki_formatting/macros.rb	Fri Sep 24 14:06:04 2010 +0100
+++ b/lib/redmine/wiki_formatting/macros.rb	Fri Nov 19 13:24:41 2010 +0000
@@ -112,7 +112,7 @@
         @included_wiki_pages ||= []
         raise 'Circular inclusion detected' if @included_wiki_pages.include?(page.title)
         @included_wiki_pages << page.title
-        out = textilizable(page.content, :text, :attachments => page.attachments)
+        out = textilizable(page.content, :text, :attachments => page.attachments, :headings => false)
         @included_wiki_pages.pop
         out
       end