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

Naive attempt at stopping incorrect escape type being used #649

Merged
merged 2 commits into from Mar 21, 2021
Merged

Naive attempt at stopping incorrect escape type being used #649

merged 2 commits into from Mar 21, 2021

Conversation

DavidGoodwin
Copy link
Contributor

I have found myself doing "....|escape:html_attr" or" ....|escape:quote" a few times. It'd help if there was some sort of warning logged if an unsupported escape type is used.

some sort of token warning if perhaps an incorrect modifier was used (E.g.|escape:quotes vs |escape:quote).
@wisskid wisskid merged commit 039043e into smarty-php:master Mar 21, 2021
@DavidGoodwin
Copy link
Contributor Author

Thanks @wisskid .... I didn't expect it to be so painless :)

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