Apostrophe in meta description.
ZC v1.5.8a (vanilla)
Adding an apostrophe to a categories meta description in Admin adds an escape backslash before it
HTML Code:
Simon's category
becomes
HTML Code:
Simon\'s category
after making a subsequent edit to the meta fields it becomes
and so on.
Using & # 3 9 ; (no spaces) as the apostrophe gives
HTML Code:
Simon& # 3 9 ;s (no spaces)
I wonder if this is a bug as a ZC v1.5.6c install does not exhibit this behaviour.
Re: Apostrophe in meta description.
I'd go for "Yes, it's a bug".
Re: Apostrophe in meta description.
Quote:
Originally Posted by
lat9
I'd go for "Yes, it's a bug".
Ok, I'll raise an issue.
Re: Apostrophe in meta description.
Quote:
Originally Posted by
simon1066
Ok, I'll raise an issue.
I understand this is an older post but was the backslash issue ever resolved?
I am encountering the same issue on a ZC 1.5.7 while adding apostrophe in meta title, description or kewords.
Any way to avoid it except for using '?
Thank you
Re: Apostrophe in meta description.
'raise an issue' means an issue was raised on GitHub. @drbyte links to the resolution at the end of
https://github.com/zencart/zencart/issues/5735
(which I found by searching among the issues for 'apostrophe')
Re: Apostrophe in meta description.
Thank you Simon. When it comes to GitHub, i am lost on the way it works and slowly getting a hang of it.
Thanks to your direct link to the issue discussion ,i was able to apply the changes.
Re: Apostrophe in meta description.
I still have to remind myself to check GitHub for a solution, before getting my hands dirty!