- Issue created by @2dareis2do
- 🇬🇧United Kingdom 2dareis2do
This also works and is probably less likely to have side effects.
$break_points[] = ['. ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '.'.PHP_EOL => 0, '؟ ' => 1];
Where there is no space between fullstops on imported node content, view display does not trim as described
This took a little while for me to try and debug but as you can see from the screenshots appear like a bug.
e.g. // If the first paragraph is too long, split at the end of a sentence.
So in text.module you have
// If the first paragraph is too long, split at the end of a sentence.
$break_points[] = ['. ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '؟ ' => 1];
Not seen 。before
adding '.' => 0, works for me. e.g.
$break_points[] = ['. ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '.' => 0, '؟ ' => 1];
For my purposes I can change to following, but the dr. problem would still exist.
e.g.
Please see screen shots attached.
Active
11.0 🔥
This also works and is probably less likely to have side effects.
$break_points[] = ['. ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '.'.PHP_EOL => 0, '؟ ' => 1];