Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Feb 2007 at 20:42 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
gpk commentedThis behaviour is occurring because although Drupal attempts to end the teaser at the end of a sentence if the first paragraph exceeds the maximum teaser length it does not recognise ". " as an end-of-sentence delimiter, only ". " (i.e. fullstop followed by a normal space) - your site makes extensive use of the former.
Comment #2
AlexisWilke commented@gpk It seems to me that a means DO NOT BREAK... but of course, this is the teaser... 8-)
@Wesley,
I created a patch that I posted here:
#221257: text_summary() should output valid HTML and Unicode text
I would think that this problem will be fixed by my patch. The Core calls the truncate_utf8() function cutting whatever in its way including entities, tags and comments. My patch fixes that problem.
Thank you.
Alexis