VirtueMart Forum

VirtueMart 2 + 3 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: sirius on September 29, 2020, 15:12:55 pm

Title: Single quotes (Apostrophe) in custom SEO title stored as '
Post by: sirius on September 29, 2020, 15:12:55 pm
Hello,

when we use single quote (') for the custom titles of categories or products, they are stored in DB as ' so the title show ' instead of single quote.
Should be corrected.

But does anyone have the same behaviour on this ?
thanks  :)
Title: Re: Single quotes (Apostrophe) in custom SEO title stored as '
Post by: pinochico on September 29, 2020, 16:09:19 pm
Yes,

we use override in template and convert html entities in title to normal text.

But primary we learn admin - don't use non-standard char in title :D
Title: Re: Single quotes (Apostrophe) in custom SEO title stored as '
Post by: sirius on October 07, 2020, 20:09:25 pm
Thanks, I know that.

But this is a standard char, only difference is that you must enclosed it in double quotes nor escape with backslash if it could be interpreted as a code.
I mean everybody use ' Who really use ’ in titles ?

And Joomla itself do not have this bug, and virtuemart standard title do not have it too.
So why is virtuemart's custom title not treated the same?

Even if it is saved as an html entity, on display the entity should be interpreted and not literally displayed.
So I will check the template again just in case.  ::)
Title: Re: Single quotes (Apostrophe) in custom SEO title stored as '
Post by: jjk on October 13, 2020, 19:12:44 pm
See this forum post: https://forum.virtuemart.net/index.php?topic=140498.msg493952#msg493952
Title: Re: Single quotes (Apostrophe) in custom SEO title stored as '
Post by: sirius on October 19, 2020, 19:50:13 pm
Thanks jjk
that's also the case when you set a title to a custom field