[wp-trac] [WordPress Trac] #28218: Blank tags get removed - wordpress version 3.9

WordPress Trac noreply at wordpress.org
Mon May 12 13:27:11 UTC 2014


#28218: Blank tags get removed - wordpress version 3.9
--------------------------+-----------------------------
 Reporter:  mukeshpal     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 If we remove the text between the tags like <span>, <a>
 then whole things get removed.

 Steps to reproduce:
 1. In tinymce editor, in text tab write something like <span
 id="test">test content</span>
 2. Now in Visible tab remove the text 'test content'
 3. It will remove whole things i.e. <span id="test">test content</span>


 Expected result:
 In Visible tab, On removing text 'test content' It should remove the text
 between the <span id="test"></span> tag

 Actual result:
 It removes whole tag and text i.e. <span id="test">test content</span>

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28218>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list