Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2020-07-09 08:54:18 +0300
committerEvan Read <eread@gitlab.com>2020-07-10 01:13:49 +0300
commitf383a8ed21a81a57c6f630a6b9bc4ab9b4e4a328 (patch)
treef6fe3ed5de9b170d298b0d6190c0ee098a0edf79 /lib/gitlab
parenta69410705d17ee1828e9e1256789a723706f8518 (diff)
Allow anchor check to find mixed-case anchors
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/docs/page.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/docs/page.rb b/lib/gitlab/docs/page.rb
index 463e3f36..55df51e3 100644
--- a/lib/gitlab/docs/page.rb
+++ b/lib/gitlab/docs/page.rb
@@ -31,7 +31,7 @@ module Gitlab
end
def has_anchor?(name)
- @ids.include?(Docs::Element.decode(name.downcase))
+ @ids.include?(Docs::Element.decode(name))
end
def self.build(path)