diff --git a/script/update-docs.rb b/script/update-docs.rb index 8747f41e96..14961c36bb 100644 --- a/script/update-docs.rb +++ b/script/update-docs.rb @@ -487,10 +487,10 @@ def index_doc(filter_tags, doc_list, get_content) clean_anchor = "#{txt_path}-#{clean_text}" clean_anchor += "-1" while ids.include?(clean_anchor) ids.add(clean_anchor) - clean_anchor = " " + "
#{$1}
" + else + "
#{$1}
" end - - "
#{clean_anchor}#{$1}
" end # Make links relative html.gsub!(/(