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:

<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.
You can use regular expressions for this:
The regex below catches what we want:
Then, you can do a replace of the 3rd group:
I've tested with a few variations of the tag img:
Test using Sublime Text