humanize seems to only capitalise 1 letter in the whole paragraph, my expectation was for it to humanize the whole paragraph and not just first letter of the 1st line. here is a minimal repo of the issue
humanize add additional letter P at the beginning and end of each paragraph?
Wondering what it is?
Your expectation is incorrect.
Returns the humanized version of an argument with the first letter capitalized.
And we’re not going to change that.
Got it, so it will not be useful to apply to
Is there another available option in Hugo which can humanize a whole page of content?
And what’s up with the addition of P at the beginning and end of each paragraph when using
No. Find another way.
The argument to humanize function is
<p>some paragraph</p>. The first and last letters of this string are
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.