• Jan Provaznik's avatar
    Use prefix for TableOfContents filter hrefs · 3e83d9f7
    Jan Provaznik authored
    TableOfContents filter generates hrefs for each header in markdown,
    if the header text consists from digits and redacted symbols only,
    e.g. "123" or "1.0 then the auto-generated href has the same format
    as issue references.
    
    If the generated id contains only digits, then 'anchor-' prefix is
    prepended to the id.
    
    Closes #38473
    3e83d9f7
reference_extractor_spec.rb 8.28 KB