Editor blocks outputting all lowercase text

Hi! I can’t figure out why the following code outputs editor blocks as lowercase text instead of keeping the original text formatting.

<meta property='og:description' content="
  <?php if($page->intendedTemplate() == "home" && page("biographie")->text()->blocks()->isNotEmpty()): ?>
    <?= strip_tags(page("biographie")->text()->blocks()->first()) ?> 
  <?php endif; ?>
"/>

The editor field’s name is text.

Thanks for any tips!

Ok, the culprits seem to be the escaped quotation marks.

The text in the content.txt is
\"P\u00e4dagogik f\u00fcr Kinder\"

If I remove the quotation marks with preg_replace it works. :man_shrugging: