-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/rdoc/markup/to_label.rb (convert): Make labels cross-browser comp…
…atible. Percent-encoded URL fragments prevent Firefox from jumping to their respective anchors. Wikipedia (MediaWiki) does something similar, with `.` instead of `-`. There's precedent in `RDoc::{Alias,MethodAttr}#html_name` (54dbcf7) and `RDoc::Context::Section#aref` (431baa1). This breaks backwards-compatibility, though.
- Loading branch information
1 parent
21b241a
commit 463019b
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters