Skip to content

Commit 9d73df4

Browse files
committed
Fix in-page anchor link in README.md.
1 parent df7ec39 commit 9d73df4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## main branch
66

7+
### Bug fixes
8+
9+
* Fix in-page anchor link in [README.md][].
10+
11+
[README.md]: README.md
12+
713
## Release 1.2.1
814

915
### Improvements

release.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def fix_links(root, path)
128128
name = match[1]
129129
uri = URI(match[2])
130130

131-
unless uri.absolute? || !uri.host.nil?
131+
unless uri.absolute? || !uri.host.nil? || uri.path.empty?
132132
uri = root + uri
133133
end
134134

0 commit comments

Comments
 (0)