[wp-trac] [WordPress Trac] #40543: Wordpress editor breaks Bootstrap html popups
WordPress Trac
noreply at wordpress.org
Sun Apr 23 12:51:47 UTC 2017
#40543: Wordpress editor breaks Bootstrap html popups
--------------------------+-----------------------------
Reporter: Tina Hammar | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.7.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Wordpress editor converts a double straight " to a right double ” on
Bootstrap popups with data-html="true" attribute.
It converts the ending double straight of the data-content attribute if it
contains html.
Screencast:
[https://www.screencast.com/t/WX0HayZTOqd]
This works
{{{
<a tabindex="0" role="button" data-toggle="popover" data-trigger="focus"
data-html="true" data-container="body" data-placement="top auto"
title="Plats" data-content="hello"></a>
}}}
With this, the ending " (double straight) in data-content is converted to
a ” (right double) which destroys the page html.
{{{
<a tabindex="0" class="space-pos-span" role="button" data-toggle="popover"
data-trigger="focus" data-html="true" data-container="body" data-
placement="top auto" title="Plats" data-content="<p>hello</p>"></a>
}}}
Detailed report with link to test installation:
[https://wp-types.com/forums/topic/layouts-visual-editor-cell-destroys-
html-bootstrap-popover-content/#post-516221]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40543>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list