Closed (duplicate)
Project:
Read More Link (Drupal 6 and earlier)
Version:
5.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2007 at 03:47 UTC
Updated:
19 Feb 2009 at 17:13 UTC
I've got ed_readmore installed on Drupal 5.3, and overall it's great. However, when a teaser ends in a bulleted list, it places the "read more" link at the end of the preceding paragraph rather than at the end of the teaser.
Looking at the code, it appears that the author is already aware of this, and that it would probably also occur if the teaser ended in a blockquote, numbered list, heading, etc.
The workaround is to place a
after an additional paragraph. But, it would be nice if it "just worked".
Comments
Comment #1
ob3ron commentedSorry, that was supposed to say "place a
<!--break-->after an additional paragraph."Comment #2
guardian commentedfacing the same issue, however adding a teaser break doesn't suit my needs
Comment #3
guardian commentedhere is what i implemented as part of a custom module of mine
Comment #4
mshaver commentedThis is also an issue for the Drupal 6.x dev version. Haven't tried the custom module above, but seems like it would work.
Comment #5
todd nienkerk commentedThis is addressed in #164343: Read More link needs to insert itself before more tags that could end a teaser. Unfortunately, the link cannot be added in the midst of
<ul>,<ol>, and<li>elements because it results in invalid markup.