Newlines confuses yoast analizer

Created on 19 December 2022, about 2 years ago
Updated 16 June 2023, over 1 year ago

Problem/Motivation

Newlines ("\n") in HTML render output will confuse the yoast analyzer, resulting in the content warning "The focus keyword doesn't appear in the first paragraph of the copy. Make sure the topic is clear immediately".

Steps to reproduce

In my example all nodes will produce multiple newlines when rendering a node.

Proposed resolution

Since google will not care about newlines, I think we could just remove them.

Remaining tasks

/

User interface changes

/

API changes

/

Data model changes

/

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024