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

RDoc escapes <sup> tags #826

Open
cstyles opened this issue Jul 17, 2021 · 0 comments
Open

RDoc escapes <sup> tags #826

cstyles opened this issue Jul 17, 2021 · 0 comments

Comments

@cstyles
Copy link

cstyles commented Jul 17, 2021

The documenetation for the Regexp class in the standard library uses <sup> which is escaped as you can see here:

https://ruby-doc.org/core-3.0.1/Regexp.html#class-Regexp-label-Capturing

Parentheses can be used for capturing. The text enclosed by the n<sup>th</sup> group of parentheses can be subsequently referred to with n. Within a pattern use the backreference \n; outside of the pattern use MatchData[n].

Can we allow <sup> tags? I believe that, in addition to HTML, some Markdown flavors support <sup> and <sub>. For example, GitHub lets me do this: regular superscript subscript

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