Browse Source

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
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
f094471ff5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/helpers/application_helper.rb

+ 2
- 2
app/helpers/application_helper.rb View File

@@ -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…
Cancel
Save