Closed (fixed)
Project:
Drupal core
Version:
4.7.6
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2006 at 15:38 UTC
Updated:
16 Jul 2007 at 19:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
bwynants commentedInstalled PHP 5.2 on my computer
same issue...
I'm not that familiar with reg exps so I leave this for the experts...
definetly not happening before 5.2
Comment #2
bwynants commentedsame seems to happen on drupal 5
this is the cck output for an empty field.....
Comment #3
ChristopherFritz commentedI just wanted to add, I had the same issue (while using Taxonomy context). The given solution [if ($text === "") { return $text; } ] works like a charm (thanks!)
This is a real problem for those using XHTML (application/xhtml+xml), and it appears to be an easy solution.
$Id: filter.module,v 1.160 2007/01/12 07:27:21 unconed Exp $
Comment #4
yched commentedThis should be a better fix - there is a mistake in one of the regexps in _filter_autop
Moving to Drupal 6, since this should be fixed here first, then backported.
The patch is for D6, but should apply to D5 (with an offset).
Comment #5
bwynants commentedseems to be working just fine. Thx!
Comment #6
dries commentedCommitted to CVS HEAD.
Comment #7
bryan kennedy commentedThis is an issue in the latest version of 4.7 as well. At least for me.
Comment #8
drummCommitted to 5.x;
Comment #9
killes@www.drop.org commentedapplied
Comment #10
(not verified) commented