summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2017-12-08 10:50:22 +0100
committerJan Provaznik <jprovaznik@gitlab.com>2017-12-08 14:13:18 +0100
commit3e83d9f73a2dbec010026dbcd24effe89d4dc16f (patch)
tree10bee33e10b0b469c018a8573e4d3162c485e3be /config.ru
parent29e39e55c3d4b5c6c34c6faec84b0dcd5a3efffa (diff)
downloadgitlab-ce-3e83d9f73a2dbec010026dbcd24effe89d4dc16f.tar.gz
Use prefix for TableOfContents filter hrefs
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
Diffstat (limited to 'config.ru')
0 files changed, 0 insertions, 0 deletions