Conflict between Owl-Carousel and Markdown Auto line breaks

Hello there.
I’m writing this post for help anyone looking for information about this problem.

If you set enable “Markdown Auto line breaks” in System configuration, in Grav, you’ll find a blank image extra in the shortcode owl-carousel in your pages.

Example:

Therefore, you have to disable “Markdown Auto line breaks” to this plugin work fine, or write your content without line breaks.

Example with blank image extra:

[owl-carousel items=1 margin=10 loop=true autoplay=true autoplayHoverPause=true nav=true]
![](busq00.jpg?cropZoom=1280,720)
![](busq11.jpg?cropZoom=1280,720)
[/owl-carousel]

Example without blank image extra and markdown auto line breaks activated:

[owl-carousel items=1 margin=10 loop=true autoplay=true autoplayHoverPause=true nav=true]
![](busq00.jpg?cropZoom=1280,720)![](busq11.jpg?cropZoom=1280,720)
[/owl-carousel]

The above images are written without line breaks.

I hope I’ve helped.

1 Like