Empty paragraph tags appearing before/after

[ad_1]

Hi, thanks for this plugin. Works wonderfully.

I’m using the shortcode block in Gutenberg. When viewing source there is an empty p tag added before and after the map. This created a gap, which I have addressed by adding negative margin css to the map.

It would be good if the shortcode output was just the map div.

My shortcode block contains:

[leaflet-map zoom="8"][leaflet-marker lat=51.653982 lng=-0.435934 svg background="#00ccff" color="#ffffff"]
  • This topic was modified 2 hours, 14 minutes ago by Space.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer