Why does the br html tag is ignored in the browser?
<p>
<?php
$footer_1 = the_field('footer_1');
$footer_2 = the_field('footer_2');
$footer_3 = the_field('footer_3');
if (!empty($footer_1)) {
the_field('footer_1');
echo "<br />";
}
if (!empty($footer_2)) {
the_field('footer_2');
echo "<br />";
}
if (!empty($footer_3)) {
the_field('footer_3');
}
?>
</p>
Edit: The browser code outputs the p element as one piece of text. No br tag displayed there either. The three variables are text fields from Advanced Custom Fields.