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

Allow elements to output safe return values #773

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

willcosgrove
Copy link
Contributor

Before

script { safe(%(console.log("Hi 👋"))) } # => <script></script>

After

script { safe(%(console.log("Hi 👋"))) } # => <script>console.log("Hi 👋")</script>

@joeldrapper
Copy link
Collaborator

Makes sense.

@willcosgrove willcosgrove merged commit 815c94e into main Sep 6, 2024
5 of 8 checks passed
@willcosgrove willcosgrove deleted the elements-returning-safe-values branch September 6, 2024 23:38
@willcosgrove willcosgrove restored the elements-returning-safe-values branch September 6, 2024 23:38
@willcosgrove willcosgrove deleted the elements-returning-safe-values branch September 6, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants