Something for when there’s nothing else to do! …
I normally use RankMath as my SEO plugin. It creates auto-snippets for the og:description part of the page info. Normally I manually edit them anyway, but I notice that the auto created ones always put a \n\n after a heading element, so the preview ends up like “this is my headline\n\nthis is the text of the following page element”
The resultant page source strips the \ out so the og:description is: “this is my headlinennthis is the text of the following page element”
I sent a ticket in to RankMath about this - ticket number #764705
They say:
" Please note that Rank Math uses the data from the post_content
on your database to generate the meta description.
However, after checking your website, we can see the Cornerstone page builder itself is adding the \n\n
to the database and that’s why Rank Math is fetching it when generating your meta description.
In this case, we suggest you get in touch with Themeco support and inform them about this issue as they might already have a solution for this."
I don’t see why they can’t just work around this when they detect that Cornerstone is activated, but I thought I’d send this in to you anyway - maybe when you get time you could work with them to improve how RankMath and Cornerstone work together?
Thanks for all your hard work!
Steve