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

Internal: Add custom escaper for template renderer [ED-18015] #30189

Merged
merged 9 commits into from
Feb 10, 2025

Conversation

Nevoss
Copy link
Member

@Nevoss Nevoss commented Feb 9, 2025

No description provided.

@@ -0,0 +1,12 @@
{# TODO: Need to add base classes #}
<{{ settings.tag | e('html_tag') }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it come sanitized from the props resolver?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have some validations, but as for today we validate it and also when printing sanitize it, just like full_url, this is the same. not sure about it, what do you think? I think if we are going to remove it, we also need to remove full_url

@StyleShit StyleShit merged commit 2f88f34 into elementor:main Feb 10, 2025
45 checks passed
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.

3 participants