[wp-trac] [WordPress Trac] #53778: Widgets changing Custom HTML

WordPress Trac noreply at wordpress.org
Mon Jul 26 13:26:42 UTC 2021


#53778: Widgets changing Custom HTML
-------------------------------------------+------------------------------
 Reporter:  jim5471                        |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Widgets                        |     Version:  5.8
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback needs-patch  |     Focuses:
-------------------------------------------+------------------------------

Comment (by jim5471):

 Ok my report used Firefox 90.0.2 64bit on Windows 10 Pro 20H2 19042.1110.

 So I repeated the steps creating a new paragraph block at step 5 and the
 results were the same as posted.

 Next tried Microsoft Edge Version 92.0.902.55 (Official build) (64-bit)
 At step 4 the html was changed to a new variation.

 {{{
 <div>
 <p>some text</p>
 <p><a href="http://www.test.com">link text</a>
 </p></div>
 <p><svg height="90" width="200"></svg><br>
   <text x="10" y="20" style="fill:red;">Several lines:<br>
     <tspan x="10" y="45">First line.</tspan><br>
     <tspan x="10" y="70">Second line.</tspan><br>
   </text><br>
 </p>
 }}}
 At Step 7 - another small change - missing the final break

 {{{
 <div>
 <p>some text</p>
 <p><a href="http://www.test.com">link text</a>
 </p>
 </div>
 <p><svg height="90" width="200"></svg><br>
   <text x="10" y="20" style="fill:red;">Several lines:<br>
     <tspan x="10" y="45">First line.</tspan><br>
     <tspan x="10" y="70">Second line.</tspan><br>
   </text>
 </p>
 }}}
 This was repeated with the same result.

 So a different result for different browsers - unexpected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53778#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list