diff --git a/lib/docs/filters/haproxy/entries.rb b/lib/docs/filters/haproxy/entries.rb
index 8a8d90ca..785b8ac3 100755
--- a/lib/docs/filters/haproxy/entries.rb
+++ b/lib/docs/filters/haproxy/entries.rb
@@ -34,7 +34,7 @@ module Docs
node.css('.keyword').each do |n|
name = n.at_css('b').content
id = n['id']
- entries << [name, URI.escape(id), REPLACE_TYPE[type] || type]
+ entries << [name, id, REPLACE_TYPE[type] || type]
end
end
end
diff --git a/lib/docs/scrapers/haproxy.rb b/lib/docs/scrapers/haproxy.rb
index 8fb07165..bac09b9c 100644
--- a/lib/docs/scrapers/haproxy.rb
+++ b/lib/docs/scrapers/haproxy.rb
@@ -16,10 +16,15 @@ module Docs
options[:follow_links] = false
options[:attribution] = <<-HTML
- © 2022 Willy Tarreau, HAProxy contributors
+ © 2023 Willy Tarreau, HAProxy contributors
Licensed under the GNU General Public License version 2.
HTML
+ version '2.8' do
+ self.release = '2.8.0'
+ self.base_url = "https://docs.haproxy.org/#{self.version}/"
+ end
+
version '2.7' do
self.release = '2.7.0'
self.base_url = "https://docs.haproxy.org/#{self.version}/"