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

Fix readfile not rendering html code #1306

Merged
merged 2 commits into from
Nov 11, 2022
Merged

Conversation

geriom
Copy link
Collaborator

@geriom geriom commented Nov 8, 2022

The current implementation unescapes html tags, which is not necessary because the output was already processed by RenderString. This causes html samples to not render correctly.

Before After
Screenshot from 2022-11-08 11-33-47 Screenshot from 2022-11-08 11-33-10

@geriom geriom requested review from chalin and deining November 8, 2022 16:41
@geriom geriom merged commit 246a2e1 into google:main Nov 11, 2022
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.

None yet

2 participants