From 1d67e34cb9f783bdc95bac828af491d448616f07 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 20 Dec 2023 15:15:45 +1300 Subject: [PATCH] DOC Document new config for splitting summary sentences --- en/04_Changelogs/5.2.0.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/04_Changelogs/5.2.0.md b/en/04_Changelogs/5.2.0.md index 4e0dbf177..56ba39db2 100644 --- a/en/04_Changelogs/5.2.0.md +++ b/en/04_Changelogs/5.2.0.md @@ -178,6 +178,7 @@ This will now fail by throwing an exception, which means your form won't render ### Other new features - A new [`SiteTree.hide_pagetypes`](api:SilverStripe\CMS\Model\SiteTree->hide_pagetypes) configuration property has been added. Unlike [`SiteTree.hide_ancestor`](api:SilverStripe\CMS\Model\SiteTree->hide_ancestor) (which has [now been deprecated](#api-silverstripe-cms)), this is an array. This allows you to define all page types that should be hidden in a single configuration property in your YAML configuration. +- A new [`DBText.summary_sentence_separators`](api:SilverStripe\ORM\FieldType\DBText->summary_sentence_separators) configuration property has been added. This is used to split sentences in the [`DBText::Summary()`](api:SilverStripe\ORM\FieldType\DBText::Summary()) method. The default configuration value includes `.`, `!`, and `?`. Previously, only `.` was used to split sentences. ## API changes