Symfony twig
How to add space following capital letters only when it is following small letters.
{{ 'IWantHTML'|humanize }} //displays 'I want h t m l'. // it should be 'I want HTML'.
The other thing is it makes everything small letters following the first letter. e.x.
{{ 'IWantHTML'|humanize }} // should be 'I Want HTML'.
{{ 'i_want_html'|humanize}} // should be 'I want html'.
{{ 'CustomerPickSale2'|humanize}} // should be 'Customer Pick Sale2'.