mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00: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:
parent
969872fb03
commit
f094471ff5
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user