Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When running the following sample :
require_once 'modules/filter/filter.module';
$text = "<p>Essai <br /> <br /> </p>";
$text= _filter_autop($text);
printf($text);
The result is : <p>Essai </p></p>
Which is quite note good because of the extra closing p.
Comments
Comment #1
sunComment #2
falkendk CreditAttribution: falkendk commentedCan't recreate, my output is
<p>Essai </p>
Comment #3
TR CreditAttribution: TR commentedI cannot reproduce this either. I get the same results as @falkendk:
So while there are certainly a lot of bugs with
_filter_autop()
, this doesn't seem to be one of them.I am closing this issue because no further information about how to reproduce the problem was provided by the original poster, nor has anyone else confirmed the problem in the 11+ years this issue has been opened.