Closed (won't fix)
Project:
Quote
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
26 May 2004 at 22:22 UTC
Updated:
8 Apr 2006 at 10:22 UTC
If a particularly long node is promoted to the front page, often it is shortened to save space, with a "read more" link at the bottom of the entry. If the node cuts off in the middle of a quote, the quote is not boxed in the preview, and the [quote] tag is visible in plain text.
I see two ways to address this:
1. Force the preview version of the node to include the entire quote, overriding the preview length.
2. Close the quote tag early in the preview version so that the partial quote is still displayed in its own box.
Comments
Comment #1
(not verified) commentedIt might be best to do this the first way -- force the node preview to display the full quote. If a
tag is encountered within the quote, the quote should be automatically closed. That way, the author can use the
tag to close the quote early if it's way too long -- this method would provide the greatest flexibility.
Comment #2
Sage-1 commentedIt might be best to do this the first way -- force the node preview to display the full quote. If a *break* tag is encountered within the quote, the quote should be automatically closed. That way, the author can use the *break* tag to close the quote early if it's way too long -- this method would provide the greatest flexibility.
Comment #3
jasonwhat commentedMy quote tags are always visible. Is something wrong? Shouldn't the tags filter out?
Comment #4
TDobes commentedThis problem can be solved by using htmlcorrector.module and placing it AFTER quote.module in filter order. htmlcorrector will close the quoting div and fix things up. The idea of lengthening the node teaser is neither easy to do nor a user-friendly solution. (I would expect my posts to be trimmed based on the "teaser length" setting... and would not expect that to change no matter what.)
Note that this problem can also be triggered by user error: if a user opens a quote tag and does not include the corresponding end quote tag, the quote div will remain open. The ideal solution to this (IMO) would be to not replace the quote open tag with a div unless a corresponding end quote tag is found.
jasonwhat: Your problem is completely unrelated and should be posted elsewhere. It sounds like you haven't placed the quote module in your input format properly.
Comment #5
Adraeus commentedHow would the htmlcorrector.module be modified to work with the BBCode.module?
Comment #6
Zen commentedThis is a won't fix issue w.r.t. the quote module. Open tags in the teaser should be closed either by core or by another module as TDobes has mentioned. This is a generic issue with teasers.
Thanks
-K