Codex tools: Log in / create account
Contents |
Changes double line-breaks in the text into HTML paragraphs (<p>...</p>).
Wordpress uses it to filter the content and the excerpt.
<?php wpautop( $pee, $br = 1 ); ?>
>> It this is accurate, then why ohhhhh why are so many folk in so many places talking about <br /> being stripped? Docs out of step w/reality ... not a good sign. << --bentrem 05:09, 27 December 2007 (UTC)
http://photomatt.net/scripts/autop/
This article is marked as in need of editing. You can help Codex by editing it.