I\'ve seen this asked several times, but not with a good resolution. I have the following string:
$string = \"Résumé
\";
So I try htmlspecialchars() or htmlentities() which outputs
Résumé
and the browser renders
Résumé
.
If you've got it working where it displays Résumé with tags around it, then just don't convert the paragraph, only your string. Then the paragraph will be rendered as HTML and your string will be displayed within.