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

Asciidoc: tildes are rendered incorrectly #804

Closed
anarthal opened this issue Jan 15, 2025 · 3 comments · Fixed by #805
Closed

Asciidoc: tildes are rendered incorrectly #804

anarthal opened this issue Jan 15, 2025 · 3 comments · Fixed by #805

Comments

@anarthal
Copy link

All tilde characters (~) rendered my MrDocs are converted to U+02DC (small tilde character), when they should be regular tilde characters (U+007E). This causes formatting issues in destructors:

Image

@anarthal
Copy link
Author

Note that this happens for every tilde, including tilde characters directly included in descriptions and other texts.

@alandefreitas
Copy link
Collaborator

~ is supposed to be escaped as ˜. Isn't that correct?

@alandefreitas
Copy link
Collaborator

Oh... ˜ decays to a small tilde:

Image

The correct named entity should be ∼

Image

But that also has problems:

Image

So I won't use named entities for ~ and let it decay to ~ (U+007E).

Image

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 a pull request may close this issue.

2 participants