diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php index 4214a67b05aaa2f311fd0c64bf76872998878e14..199e7c87cfd8c99077aca64bba6b312c876ed554 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php @@ -41,7 +41,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic; * Transforms the input string to its first letter lower-cased, i.e. uncapitalization * * ``capitalWords`` - * Not supported yet: Transforms the input string to each containing word being capitalized + * Transforms the input string to each containing word being capitalized * * Note that the behavior will be the same as in the appropriate PHP function `mb_convert_case`_; * especially regarding locale and multibyte behavior. diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php index fe024ee73e05f8cafb622c26b6f9e6d0e66f4987..d9596df71a39ade6cdd4163f55bb009f5532901d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php @@ -57,6 +57,10 @@ final class CaseViewHelperTest extends FunctionalTestCase '<f:format.case value="FOO Bar" mode="uncapital" />', 'fOO Bar', ], + 'mode capital words' => [ + '<f:format.case value="foo bar baz" mode="capitalWords" />', + 'Foo Bar Baz', + ], 'special chars 1' => [ '<f:format.case value="smørrebrød" mode="upper" />', 'SMØRREBRØD',