﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
6877,preg_replace in wpautop deletes all the text in the post,duncanmc,azaozz,"I entered a preformatted HTML post, but the post was showing blank. I saw that it is because of the preg_replace in wpautop function in the file formatting.php. The problem code is 

{{{
$pee = preg_replace('/\n?(.+?)(?:\n\s*\n|\z)/s', ""<p>$1</p>\n"", $pee); // make paragraphs, including one at the end
}}}

It is completely deleting the post content in some cases. There are also other users having the same problem in the forum. See http://wordpress.org/support/topic/156804?replies=6 for details. Could you please fix it?",defect (bug),closed,highest omg bbq,2.8,Administration,2.7,critical,fixed,"reporter-feedback , wpautop, has_patch",
