and end with
. These gave empty lines in * the popup. * * @param string|null $content The text between the tags of the shortcode. * @return string */ function waymorphic_map_popup_html( $content ) { if ( null === $content ) { return ''; } $html = do_shortcode( $content ); // A shortcode in the popup can print script and style elements. The cleaning of the popup // removes their tags and keeps their text: the code showed as text in the popup. if ( false !== stripos( $html, '