How to remove the end slash from the img tag?

Hello,

Kramdown is now the default markdown renderer for Jekyll 4.0. I would like to know if there is a way to remove the end slash from the img tag.

For example:

![Flowers](flowers.jpg)

<img src="flowers.jpg" alt="Flowers" />

One way until a few months ago was to using Redcarpet, but now is dropped.

How can I do?

Thanks for the support.

Thanks to David Jacquel answered my question: https://stackoverflow.com/a/61264446/2008070