Skip to content

Commit

Permalink
[BUGFIX] Remove outdated comment regarding capitalWords in `f:forma…
Browse files Browse the repository at this point in the history
…t.case`

Resolves: #103142
Releases: main, 12.4, 11.5
Change-Id: I31e5af71aa0e1a9104f8c154a6f0e34f29c90a77
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82983
Tested-by: Andreas Kienast <a.fernandez@scripting-base.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Andreas Kienast <a.fernandez@scripting-base.de>
  • Loading branch information
andreaskienast committed Feb 19, 2024
1 parent 476b197 commit 5645bf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -41,7 +41,7 @@
* 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.
Expand Down
Expand Up @@ -57,6 +57,10 @@ public static function renderConvertsAValueDataProvider(): array
'<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',
Expand Down

0 comments on commit 5645bf0

Please sign in to comment.