Skip to content

Conversation

amomchilov
Copy link
Contributor

All the special characters in the tokens' docs result in garbled HTML:

image

Fixed:

image

Copy link
Collaborator

@kddnewton kddnewton left a comment

Choose a reason for hiding this comment

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

This is currently failing doxygen. (https://github.com/ruby/prism/actions/runs/10638854883/job/29495664260?pr=3028#step:8:155).

I think in general I would prefer that the templates themselves perform this kind of escaping as opposed to the YAML file itself. This is meant to be read by anything, so it's not really a concerns of the YAML file whether or not the C docs render correctly.

@amomchilov amomchilov force-pushed the Alex/fix-invalid-html branch from 9a646dc to 60857cf Compare September 3, 2024 14:39
@amomchilov amomchilov marked this pull request as draft September 3, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants