[wp-trac] [WordPress Trac] #58366: Shortcode Support Regained but Content Filters are messing with Shortcode HTML

WordPress Trac noreply at wordpress.org
Mon May 22 08:07:00 UTC 2023


#58366: Shortcode Support Regained but Content Filters are messing with Shortcode
HTML
---------------------------+------------------------------
 Reporter:  domainsupport  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Shortcodes     |     Version:  6.2.2
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by kubiq):

 @Clorith shortcodes should never do any autop! Imagine pretty common
 output for input with a lot of attributes
 {{{
 <input
     type="number"
     name="age"
     value=""
     placeholder="18"
     id="age"
     class="form-control"
     min="18"
     max="80"
     step="1"
 />
 }}}

 any many other scenarios... `\n` inside the shortcodes has to stay `\n`

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


More information about the wp-trac mailing list