Project

General

Profile

Patch #40513 ยป use-page-argument-in-initial-content.patch

Takuya Kodama, 2024-04-02 09:34

View differences:

lib/redmine/wiki_formatting/common_mark/helper.rb
33 33
        end
34 34

  
35 35
        def initial_page_content(page)
36
          "# #{@page.pretty_title}"
36
          "# #{page.pretty_title}"
37 37
        end
38 38

  
39 39
        def heads_for_wiki_formatter
lib/redmine/wiki_formatting/markdown/helper.rb
33 33
        end
34 34

  
35 35
        def initial_page_content(page)
36
          "# #{@page.pretty_title}"
36
          "# #{page.pretty_title}"
37 37
        end
38 38

  
39 39
        def heads_for_wiki_formatter
lib/redmine/wiki_formatting/textile/helper.rb
32 32
        end
33 33

  
34 34
        def initial_page_content(page)
35
          "h1. #{@page.pretty_title}"
35
          "h1. #{page.pretty_title}"
36 36
        end
37 37

  
38 38
        def heads_for_wiki_formatter
    (1-1/1)