By tmj2k7 on
Line196 /modules/node/node.module:
$breakpoints = array('. ' => 1, '." ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '؟ ' => 1);
simply added the '." ' => 1, To look for a quote.
Line196 /modules/node/node.module:
$breakpoints = array('. ' => 1, '." ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '؟ ' => 1);
simply added the '." ' => 1, To look for a quote.
Comments
I should add: because the
I should add: because the function didn't support quotes, nodes with quotes within the teaser length would end up way too short, as it wouldn't recognize a sentence ending in a quote as a viable breakpoint.
IE: In Olivas v. Olivas, 780 P.2d 640 (N.M. Ct. App. 1989), the New Mexico Court of Appeals held that where a husband had left the home after a partial divorce decree, but before the final property division - thus making him and his now ex-wife tenants in common, the husband had "the burden of proving constructive ouster."
Became:
In Olivas v. Olivas, 780 P.2d 640 (N.M. Ct. App.
Now, breakpointing in the middle of a citation is another issue, but one that can probably be handled on a case by case (pun intended) basis by manually using the break tag.