Nothing injected when paragraphs have attributes

Created on 23 March 2024, 8 months ago
Updated 26 April 2024, 7 months ago

Problem/Motivation

Nothing gets injected into body if paragraphs have attributes and are not plain

Steps to reproduce

Experiment with body text with versions of paragraphs like this:

<p>asdfasdfadf</p> and <p class="some class">

The latter will get ignored.
If all your paragraphs have attributes nothing will get injected. If only some - injection may happen but not where you want it.

Example:

<p class="p1">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore 
</p>
<p class="p1">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.
</p>

Proposed resolution

Change paragraphs 'exploding' pattern

πŸ› Bug report
Status

Needs work

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom masterperoo

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

Comments & Activities

Production build 0.71.5 2024