Skip to content
Snippets Groups Projects
Commit 1aab0b2e authored by Andreas Kienast's avatar Andreas Kienast
Browse files

[BUGFIX] Remove outdated comment regarding `capitalWords` in `f:format.case`

Resolves: #103142
Releases: main, 12.4, 11.5
Change-Id: I31e5af71aa0e1a9104f8c154a6f0e34f29c90a77
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83034


Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarTorben Hansen <derhansen@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarTorben Hansen <derhansen@gmail.com>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent f2c27868
Branches
Tags
No related merge requests found
......@@ -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.
......
......@@ -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',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment