[wp-trac] [WordPress Trac] #48915: Gutenberg Paragraph Block, Drop Cap missing sanitize rule for initial hard return line <br>
WordPress Trac
noreply at wordpress.org
Mon Dec 9 05:01:54 UTC 2019
#48915: Gutenberg Paragraph Block, Drop Cap missing sanitize rule for initial hard
return line <br>
--------------------------+-----------------------------
Reporter: Giorgio25b | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.3
Severity: minor | Keywords: needs-patch
Focuses: ui |
--------------------------+-----------------------------
When content has dirty markups, or mistaken is made with hard return
before input, more specifically a <br> markup as first element, Drop Cap
option can be enable but there is no effect on the first letter in the
rendered content.
See example:
{{{
<!-- wp:paragraph {"dropCap":true} -->
<p class="has-drop-cap"><br>Lorem Ipsum quam quasi mollitia</p>
<!-- /wp:paragraph -->
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48915>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list