mirror of
https://github.com/redmine/redmine.git
synced 2026-06-26 17:00:10 +02:00
Fix shadowing variable in ApplicationHelper#textilizable (#15667).
Patch by Ilya S. git-svn-id: https://svn.redmine.org/redmine/trunk@21991 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -876,9 +876,9 @@ module ApplicationHelper
|
||||
@current_section = 0 if options[:edit_section_links]
|
||||
|
||||
parse_sections(text, project, obj, attr, only_path, options)
|
||||
text = parse_non_pre_blocks(text, obj, macros, options) do |text|
|
||||
text = parse_non_pre_blocks(text, obj, macros, options) do |txt|
|
||||
[:parse_inline_attachments, :parse_hires_images, :parse_wiki_links, :parse_redmine_links].each do |method_name|
|
||||
send method_name, text, project, obj, attr, only_path, options
|
||||
send method_name, txt, project, obj, attr, only_path, options
|
||||
end
|
||||
end
|
||||
parse_headings(text, project, obj, attr, only_path, options)
|
||||
|
||||
Reference in New Issue
Block a user