ethercreative/seo

Spacing bug between page title and site name

pascalminator opened this issue · 3 comments

Description

There is an annoying spacing bug between page title and site title, that appeared with the latest update of this plugin. It caused this problem on all the websites I updated so far. For example, before the update it was 'Page title - Site name' and now it is 'Page title- Site name'.

The spacing is properly defined (it is by default anyway) in the settings:
image

But ignored in the entries:
image

Steps to reproduce

  1. Update the SEO plugin to latest version
  2. Visit an entry with the SEO field used to set the page title and save
  3. Open the saved page in front-end and look at the title with the newly missing spacing (Page title- Site title)

Additional info

  • Craft version: 4.4.8
  • SEO version: 4.1.1
  • PHP version: 8.2

So after investigation, this problem is caused by a Craft CMS update rather than an update from the SEO plugin. I updated Craft on a different site, without updating the SEO plugin, and the problem still occure.

Basically, the space after the page title is ignored / removed:

image

This is happening on absolutely all my websites using this SEO plugin, after the Craft update of 3 weeks ago.

Thanks for the additional info; we'll take a look.

This issue is now also affecting the SEO plugin on Craft 3. I have a few websites on Craft 3 that were recently updated and are now getting this exact same problem: the space after the page title is ignored / removed.

image

The website in this screenshot was developed back in 2021 and never had this issue before.

Weirdly enough, it looks like it only affects the <title> and not the Twitter and Facebook titles:

image