Defect #13723 » expand-macros-before-parsing-sections.patch
| application_helper.rb 2023-06-13 13:46:37.586286893 +0200 → application_helper.rb 2023-06-13 14:27:22.531156346 +0200 | ||
|---|---|---|
|
@heading_anchors = {}
|
||
|
@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 |txt|
|
||
|
[:parse_inline_attachments, :parse_hires_images, :parse_wiki_links, :parse_redmine_links].each do |method_name|
|
||
|
send method_name, txt, project, obj, attr, only_path, options
|
||
|
end
|
||
|
end
|
||
|
parse_sections(text, project, obj, attr, only_path, options)
|
||
|
parse_headings(text, project, obj, attr, only_path, options)
|
||
|
if @parsed_headings.any?
|
||