[wp-trac] [WordPress Trac] #37814: wpautop losing closing </pre> tags if doubled
WordPress Trac
noreply at wordpress.org
Wed Aug 24 17:38:12 UTC 2016
#37814: wpautop losing closing </pre> tags if doubled
--------------------------+-----------------------------
Reporter: andyimatest | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.6
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
wpautop is excluding the second closing </pre> tag if there are two in a
row, one containing other attributes.
Example:
<pre><pre class="brush: csharp; title: ; notranslate" title="">
test test test
</pre></pre>
comes out as:
<pre><pre class="brush: csharp; title: ; notranslate" title="">
test test test
</pre>
Detected using SyntaxHighlighter Evolved plugin, using [csharp] shortcode
in Text editor, switching to Visual editor (where encapsulating
<pre></pre> are automatically added around the short-code), then
previewing page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37814>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list