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