[wp-trac] [WordPress Trac] #13327: Post editor puts content through wpautop() before displaying it to users without JS enabled (was: Post editor puts content through wpautop() before displaying it to Contributors without JS)

WordPress Trac wp-trac at lists.automattic.com
Mon May 10 22:06:08 UTC 2010


#13327: Post editor puts content through wpautop() before displaying it to users
without JS enabled
--------------------------+-------------------------------------------------
 Reporter:  markjaquith   |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  3.0
Component:  Editor        |     Version:  3.0
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Old description:

> '''Steps to reproduce:'''
>
>  1. Log in as Contributor
>  2. Add a new post
>  3. Save as draft
>  4. Note that the content is wrapped in {{{<p>}}} tags in the textarea.
>
> [[Image(http://img19.imageshack.us/img19/6363/screenshot20100510at524.png)]]
>
> This does not happen with other roles, even with JS disabled. This does
> not happen with Contributors unless JS is disabled.
>
> '''Expected:'''
>
> No paragraph tags are added.

New description:

 '''Steps to reproduce:'''

  1. With JS on, change to the Visual Editor
  2. Disable JS
  3. Add a new post
  4. Save as draft
  5. Note that the content is wrapped in {{{<p>}}} tags in the textarea.

 [[Image(http://img19.imageshack.us/img19/6363/screenshot20100510at524.png)]]

 '''Expected:'''

 No paragraph tags are added.

--

Comment(by markjaquith):

 This happens because

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13327#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list