EE 5.2.2
The title meta tag from the default site html-wrapper template is this <meta property="og:title" content="{layout:og_title}">
. It is working great for everything except if there's an apostrophe in the title, in which case the output stops before the apostrophe. So the title Love Doesn't Stop
is rendered as Love Doesn
.
I've tried other options such as using conditionals to pull the {title}
from the channel entry itself, which, when I view the page source, renders Love Doesn’t Stop
but still uses Love Doesn
when linking out.
I have also tried changing the actual title from Love Doesn't Stop
to Love Doesn’t Stop
, but the same thing still happens: I end up with Love Doesn
.
Is this an EE problem or an HTML problem?
Thanks.