I have an array with strings. The strings shall have line breaks. My code produces the
as text not as tag. How can I manage to create a
tag in the HTML that creates a line break?
<?php return array(
....
'subtitle' => nl2br("My Sentence shall have a
line break right there") ,
...
);
<title><?php echo htmlspecialchars($CONFIG['subtitle']); ?></title>
Result
My Sentence shall have a <br> line break right there