I have this to print an address on a report.
{{ isset($pref[0]['address']) ? $pref[0]['address'] : '' }}
{{ isset($pref[0]['postcode']) ? $pref[0]['postcode'] : '' }}
{{ isset($pref[0]['phone']) ? $pref[0]['phone'] : '' }}
{{ isset($pref[0]['fax']) ? $pref[0]['fax'] : '' }}
{{ isset($pref[0]['www']) ? $pref[0]['www'] : '' }}
but I want to add a <br> element to it when the array element has a value.
I tried adding it into the ternary operator, but it prints the <br> element as text.
`{{ isset($pref[0]['www']) ? $pref[0]['www'].<br> : '' }}`
or
{{ isset($pref[0]['www']) ? $pref[0]['www'].'<br>' : '' }}
but it comes through as text and not html