I convert some text in my template to title case using:
page.title | title
When there is an apostrophe in the text, it gives unexpected results:
For example with this input:
“Steiner’s theorem”
Expected result: “Steiner’s Theorem”
What I get: “Steiner’S Theorem”
Is there any way to get around this?