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

Escape hash in code/codeblocks #504

Merged
merged 3 commits into from
May 30, 2024
Merged

Escape hash in code/codeblocks #504

merged 3 commits into from
May 30, 2024

Conversation

mishig25
Copy link
Contributor

@mishig25 mishig25 commented May 30, 2024

Description

Escape # char inside code/codeblocks into its html5 entity #. Otherwise, an extra new space was being rendered. Discovered after checking the renderings from huggingface/chat-ui#1155

main this branch/pr
image image

@mishig25 mishig25 marked this pull request as ready for review May 30, 2024 08:24
@mishig25 mishig25 merged commit 5b49e67 into main May 30, 2024
5 checks passed
@mishig25 mishig25 deleted the escape_hash_in_code branch May 30, 2024 08:37
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.

1 participant