My client has added their product titles in UPPERCASE, and as such the
og:title property is also in uppercase.
For example: 'MY T SHIRT'
<meta property="og:title" content="<?= $block->escapeHtmlAttr($block->stripTags($block->getProduct()->getName())) ?>" />
Desired Result: I want the title to be output in Propercase.
For example: 'My T Shirt'
Can anyone please suggest an update to the code to get this working as desired?