[wp-trac] [WordPress Trac] #61482: WordPress is adding rel="noopener" to code in normal texteditor

WordPress Trac noreply at wordpress.org
Sun Jun 23 10:07:14 UTC 2024


#61482: WordPress is adding rel="noopener" to code in normal texteditor
--------------------------+-----------------------------
 Reporter:  neo2k23       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I am adding this line in the text editor


 {{{
 <a style="color:yellow" target="_blank" href="https://myforum.com">Goto
 the Forum</a>
 }}}


 after saving it becomes



 {{{
 <a style="color:yellow" target="_blank" href="https://myforum.com"
 rel="noopener">Goto my Forum</a>
 }}}


 rel="noopener" has been added.  I do not want this behaviour.  The html
 code should stay the way i added it.

 I am using a clean install with the default 24 theme and the classic
 editor activated

 Can you please tell me how i can prevent wordpress from changing my code?

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


More information about the wp-trac mailing list