Skip to content

Commit 8029820

Browse files
committed
feature #5595 Improve humanize filter documentation (bocharsky-bw)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5595). Discussion ---------- Improve humanize filter documentation Add processing camelCase text behavior description Commits ------- 18610a4 Improve humanize filter documentation
2 parents 034a6f0 + 18610a4 commit 8029820

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/twig_reference.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ humanize
380380
**type**: ``string``
381381

382382
Makes a technical name human readable (i.e. replaces underscores by spaces
383-
and capitalizes the string).
383+
or transforms camelCase text like ``helloWorld`` to ``hello world``
384+
and then capitalizes the string).
384385

385386
trans
386387
~~~~~

0 commit comments

Comments
 (0)