diff --git a/lib/docs/filters/core/normalize_paths.rb b/lib/docs/filters/core/normalize_paths.rb index 8feb645c..d8f944ef 100644 --- a/lib/docs/filters/core/normalize_paths.rb +++ b/lib/docs/filters/core/normalize_paths.rb @@ -26,7 +26,7 @@ module Docs def normalize_href(href) url = URL.parse(href) - url.path = normalize_path(url.path) + url.send(:set_path, normalize_path(url.path)) url rescue URI::InvalidURIError href