$listing_template .= '<% if ( typeof extra_email !== "undefined" && extra_email ) { %>' . "\r\n"; $listing_template .= '

<%= extra_email %>

' . "\r\n"; $listing_template .= '<% } %>' . "\r\n";