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

perf(utils/html): Improve performance escape() #307

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

usualoma
Copy link
Member

@usualoma usualoma commented Jun 9, 2022

  • Replace all in one replace() call.
  • We do not need to escape "'".

@yusukebe yusukebe merged commit b965262 into honojs:feat/jsx Jun 9, 2022
@yusukebe
Copy link
Member

yusukebe commented Jun 9, 2022

Thank you!

@usualoma usualoma deleted the pref/html-escape branch June 10, 2022 00:29
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