lib/trac-wiki/parser.rb in trac-wiki-0.3.26 vs lib/trac-wiki/parser.rb in trac-wiki-0.3.27

- old
+ new

@@ -408,10 +408,10 @@ end @tree.tag_end(hN) end def edit_heading_link(section) - @tree.tag(:a, { class: @edit_heading_class, href: "?edit=#{section}"}, "edit") + @tree.tag(:a, { class: @edit_heading_class, id:"h#{section}", href: "?edit=#{section}"}, "edit") end def make_explicit_link(link) begin uri = URI.parse(link)