Hi,

I just noticed something when trying to create highlighted excerpts of
website URLs:

  
http://www.website.com/2011/01/12/9-questions-to-ponder-when-thinking-about-a-gift-for-online-sale-2

Highlighting itself works fine, but if the excerpt_length < length of
URL, then create_excerpt() returns null.  Perhaps create_excerpt()
needs to slice on punctuation as well as whitespace?

Glancing at Highlighter.c and it's dependence on "normal" looking
sentences and whitespace (and what constitutes a sentence boundary,
etc), I'm thinking this may not be as simple as first blush?


-- 
Regards,
gk

Reply via email to