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

Invalid smarty escape type html_attr in product-comments-list.tpl #285

Open
lmeyer1 opened this issue Apr 19, 2022 · 3 comments
Open

Invalid smarty escape type html_attr in product-comments-list.tpl #285

lmeyer1 opened this issue Apr 19, 2022 · 3 comments

Comments

@lmeyer1
Copy link

lmeyer1 commented Apr 19, 2022

There is an invalid smarty escape type html_attr in product-comments-list.tpl.
See PrestaShop/PrestaShop#28216 (comment) for the exact error.

@matteolavaggi
Copy link

The rrror is Still there:
(1/1) ContextErrorException
User Notice: escape: unsupported type: html_attr - returning unmodified string

in modifier.escape.php line 257
at smarty_modifier_escape('

@COMMENT_DATE@
Da @CUSTOMER_NAME@

@COMMENT_TITLE@

@COMMENT_COMMENT@

thumb_up @COMMENT_USEFUL_ADVICES@ thumb_down @COMMENT_NOT_USEFUL_ADVICES@ flag
', 'html_attr', 'UTF-8', true)

@matteolavaggi
Copy link

Think this can solve:
data-comment-item-prototype="{$comment_prototype|escape:'html'}">

@ancedric
Copy link

where do we put it?

Think this can solve: data-comment-item-prototype="{$comment_prototype|escape:'html'}">

where do we put it?

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

No branches or pull requests

3 participants