Skip to content

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Dec 31, 2025

Before

Screenshot 2025-12-31 at 23 44 19

After

Screenshot 2025-12-31 at 23 43 58

@st0012 st0012 added the bug label Dec 31, 2025
@matzbot
Copy link
Collaborator

matzbot commented Dec 31, 2025

🚀 Preview deployment available at: https://5767306a.rdoc-6cd.pages.dev (commit: bde3f30)

"_#{PROTECT_ATTR}_#{PROTECT_ATTR}\\1_#{PROTECT_ATTR}_#{PROTECT_ATTR}")
@str.gsub!(/(\A|[^\\])\\([#{Regexp.escape @protectable.join}])/m,
"\\1\\2#{PROTECT_ATTR}")
@str.gsub!(/\\(\\[#{Regexp.escape @protectable.join}])/m, "\\1")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of repeated regexp creation like this in this file. I think most of them can be extracted into ivars.

@st0012 st0012 merged commit bd9cada into master Jan 1, 2026
66 of 68 checks passed
@st0012 st0012 deleted the prohibit-style-rendering-in-code branch January 1, 2026 17:43
st0012 added a commit that referenced this pull request Jan 4, 2026
1. README now has a better section about supported markup formats
2. RDoc markup related reference are now consolidated under
`doc/markup_reference/rdoc.rdoc`
3. Markdown markup now has a more comprehensive reference in
`doc/markup_reference/markdown.md`

(#1536, #1538, #1540, and #1541 were all discovered when I was preparing
for this PR 😄)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants