[wp-trac] [WordPress Trac] #40786: Leading spaces are added to custom textarea metabox

WordPress Trac noreply at wordpress.org
Wed May 17 17:48:52 UTC 2017


#40786: Leading spaces are added to custom textarea metabox
-------------------------------+------------------------------
 Reporter:  subrataemfluence   |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.7.5
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  administration
-------------------------------+------------------------------

Comment (by truongwp):

 You should remove new line or space between the `<textarea>` open tag and
 textarea content
 {{{#!php
 <textarea>Hello world</textarea>
 }}}

 instead of

 {{{#!php
 <textarea>
    Hello world
 </textarea>
 }}}

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


More information about the wp-trac mailing list