Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid link parsing - broken link if ends in '.md' #890

Open
EugZol opened this issue Jun 14, 2022 · 0 comments
Open

Invalid link parsing - broken link if ends in '.md' #890

EugZol opened this issue Jun 14, 2022 · 0 comments

Comments

@EugZol
Copy link

EugZol commented Jun 14, 2022

ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux]
rdoc 6.3.1

Create the following ruby file in some folder:

# https://github.com/ruby/ruby/blob/master/README.md
class Klass
end

Run rdoc in that folder.

Run grep ruby/ruby doc/Klass.html.

Expected: link href is https://github.com/ruby/ruby/blob/master/README.md

Actual: link href is https://github_com/ruby/ruby/blob/master/README_md.html

@EugZol EugZol changed the title Invalid link parsing for rdoc 6.3.1 (ruby 3.0.2p107) - broken link if ends in '.md' Invalid link parsing - broken link if ends in '.md' Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant