cwp/agency-extensions 2.0.0 Base module for the default CWP theme to add features
cwp/cwp-recipe-cms 2.0.1 CWP CMS requirements recipe
cwp/cwp-recipe-core 2.0.1 CWP core requirements recipe
cwp/cwp-recipe-search 2.0.1 CWP search requirements recipe
cwp/starter-theme 2.0.0 CWP Theme
cwp/watea-theme dev-master cd1bdf8 CWP Watea theme
phpunit/phpunit 5.7.27 The PHP Unit Testing framework.
silverstripe/asset-admin dev-bugfix/cwp-2168 7b81608 Asset management for the SilverStripe CMS
silverstripe/recipe-authoring-tools 1.0.0 Extra tools for CMS authoring in SilverStripe
silverstripe/recipe-blog 1.0.0 SilverStripe Blog Project Template
silverstripe/recipe-collaboration 1.0.0 Add extra functionality to enhance CMS user collaboration
silverstripe/recipe-form-building 1.0.0 A recipe of modules to help you build forms in SilverStripe
silverstripe/recipe-plugin 1.2.0 Helper plugin to install SilverStripe recipes
silverstripe/recipe-reporting-tools 1.0.0 Add extra CMS reporting tools to your SilverStripe project
silverstripe/recipe-services 1.0.0 Add API and content service modules to your SilverStripe project
silverstripe/registry dev-master d8976e6 Provide search and export interfaces for datasets.
silverstripe/subsites 2.0.2 Run multiple sites from a single SilverStripe install.
squizlabs/php_codesniffer 3.3.0 PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detect...
tractorcow/silverstripe-fluent 4.0.2 Simple localisation for Silverstripe
Description
DBText::Summary() doesn't summarise non latin based language (Chinese, Korean etc) paragraphs. East asian languages use a different kind of full stop, and word counts are based on characters instead of latin based "words".
Affected Version
Affects SilverStripe Framework 4.1.1
Description
DBText::Summary()
doesn't summarise non latin based language (Chinese, Korean etc) paragraphs. East asian languages use a different kind of full stop, and word counts are based on characters instead of latin based "words".See Full stops in other scripts - https://en.wikipedia.org/wiki/Full_stop https://en.wiktionary.org/wiki/ideographic_full_stop
Steps to Reproduce
$result
contains the full text as it fails to distinguish the Chinese ideographic full stop。
Note: I've got a PR incoming with a change to use
str_word_count
instead of regular expressions splitting on a period.
.