##// END OF EJS Templates
Fixed test failure (#15182)....
Jean-Philippe Lang -
r12010:918ec276f1a8
parent child
Show More
@@ -1016,14 +1016,14 RAW
1016 1016 result = textilizable(raw, :edit_section_links => {:controller => 'wiki', :action => 'edit', :project_id => '1', :id => 'Test'}).gsub("\n", "")
1017 1017
1018 1018 # heading that contains inline code
1019 assert_match Regexp.new('<div class="contextual" title="Edit this section">' +
1019 assert_match Regexp.new('<div class="contextual" id="section-4" title="Edit this section">' +
1020 1020 '<a href="/projects/1/wiki/Test/edit\?section=4"><img alt="Edit" src="/images/edit.png(\?\d+)?" /></a></div>' +
1021 1021 '<a name="Subtitle-with-inline-code"></a>' +
1022 1022 '<h2 >Subtitle with <code>inline code</code><a href="#Subtitle-with-inline-code" class="wiki-anchor">&para;</a></h2>'),
1023 1023 result
1024 1024
1025 1025 # last heading
1026 assert_match Regexp.new('<div class="contextual" title="Edit this section">' +
1026 assert_match Regexp.new('<div class="contextual" id="section-5" title="Edit this section">' +
1027 1027 '<a href="/projects/1/wiki/Test/edit\?section=5"><img alt="Edit" src="/images/edit.png(\?\d+)?" /></a></div>' +
1028 1028 '<a name="Subtitle-after-pre-tag"></a>' +
1029 1029 '<h2 >Subtitle after pre tag<a href="#Subtitle-after-pre-tag" class="wiki-anchor">&para;</a></h2>'),
General Comments 0
You need to be logged in to leave comments. Login now