Closed (fixed)
Project:
Excerpt
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2005 at 01:21 UTC
Updated:
2 Jan 2008 at 01:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
Permanently Undecided commentedI realized it might have something to do with the excerpt module, and indeed once I disabled that, everything started working properly again. Filing this as an excerpt.module bug.
Comment #2
Permanently Undecided commentedThe attached patch fixes the problem for Drupal 4.6.0.
However, if the teaser is longer than the body, no 'read more' link is displayed (it currently is, instead).
If somebody else has a better idea on how to fix the problem without the mentioned drawback, please share! It'd be appreciated.
Comment #3
crisdias commentedThe problem seems to be that while $node->body is stored in the database as entered in the form, $node->teaser has all filters applied (specially line-breaking).
So, for example, while body will only have \n, teaser will have <P>, <BR>, etc.
Comment #4
Geary commentedThere is a fix for this here:
http://drupal.org/node/18571
Grab the latest patch or pre-patched excerpt.module from that issue (the geary-2005-09-15... versions) and you should be in good shape.
Comment #5
markus_petrux commentedI have also observed the problem reported in this issue. When the excerpt module is active all nodes in homepage have the 'read more' link.
Since the excerpt module doesn't touch node data at 'view' time, I believe it is better to remove the alteration of the readmore property of the node. I did the following and it seems to work perfectly:
Comment #6
hayesr commentedI believe this problem no longer exists in the latest version. Please submit a new issue if it persists in another version.