Extract headings and TOC parsing from the textile formatter.
Fixes #2038 and #3707 and will allow to support TOC with other text formatters. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4376 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/helpers/application_helper.rb 35 additions, 3 deletionsapp/helpers/application_helper.rb
- lib/redmine/wiki_formatting/macros.rb 1 addition, 1 deletionlib/redmine/wiki_formatting/macros.rb
- lib/redmine/wiki_formatting/textile/formatter.rb 2 additions, 47 deletionslib/redmine/wiki_formatting/textile/formatter.rb
- test/unit/helpers/application_helper_test.rb 23 additions, 1 deletiontest/unit/helpers/application_helper_test.rb
- test/unit/lib/redmine/wiki_formatting/macros_test.rb 3 additions, 0 deletionstest/unit/lib/redmine/wiki_formatting/macros_test.rb
Please register or sign in to comment