diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-15 10:55:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-15 10:55:29 +0000 |
commit | e8057d41bbba530feef2ac56ead50e0bb635cb8f (patch) | |
tree | ed2f6c8fe0fa5577218e57fb83e99de06ec80d33 /lib/redmine/wiki_formatting | |
parent | 4a2114c73b770739402459fbaa7dd6c124388069 (diff) | |
download | redmine-e8057d41bbba530feef2ac56ead50e0bb635cb8f.tar.gz redmine-e8057d41bbba530feef2ac56ead50e0bb635cb8f.zip |
Fixed that collapse macro with headings breaks the table of contents (#16077).
git-svn-id: http://svn.redmine.org/redmine/trunk@12899 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/wiki_formatting')
-rw-r--r-- | lib/redmine/wiki_formatting/macros.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb index e55d5de32..731c1bc00 100644 --- a/lib/redmine/wiki_formatting/macros.rb +++ b/lib/redmine/wiki_formatting/macros.rb @@ -221,7 +221,7 @@ module Redmine out = ''.html_safe out << link_to_function(show_label, js, :id => "#{html_id}-show", :class => 'collapsible collapsed') out << link_to_function(hide_label, js, :id => "#{html_id}-hide", :class => 'collapsible', :style => 'display:none;') - out << content_tag('div', textilizable(text, :object => obj), :id => html_id, :class => 'collapsed-text', :style => 'display:none;') + out << content_tag('div', textilizable(text, :object => obj, :headings => false), :id => html_id, :class => 'collapsed-text', :style => 'display:none;') out end |