Forwarded mail....
15 Dec
2005
15 Dec
'05
7:40 p.m.
I sent this to support, and was asked to forward it here. I'd like to modify filter.module so that '<br />' are not inserted with linebreaks, but the '<p>' insertions are retained. I had assumed that this was taking place in "function _filter_autop($text)" in filter.module, but after removing every preg_replace call that involved '<br />' tags, (e.g., "$chunk = preg_replace('|<br />\s*|', "\n\n", $chunk);") from that function, I found that drupal was still inserting the unwanted linebreaks. Can someone please tell me where this is happening in drupal? I've been grepping like crazy trying to find it, but without success. Thanks, Salvador
7493
Age (days ago)
7493
Last active (days ago)
0 comments
1 participants
participants (1)
-
salvador@progressivetrail.org