# How to remove the end slash from the img tag?

**URL:** <https://talk.jekyllrb.com/t/how-to-remove-the-end-slash-from-the-img-tag/4239>\
**Category:** Help\
**Created:** [April 16, 2020, 3:53pm UTC](https://talk.jekyllrb.com/t/how-to-remove-the-end-slash-from-the-img-tag/4239 "2020-04-16T15:53:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreaballerino](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/andreaballerino/32/2432_2.png) [@andreaballerino](https://talk.jekyllrb.com/u/andreaballerino)\
**Post date:** [April 16, 2020, 3:53pm UTC](https://talk.jekyllrb.com/t/how-to-remove-the-end-slash-from-the-img-tag/4239/1 "2020-04-16T15:53:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![andreaballerino](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/andreaballerino/32/2432_2.png) [@andreaballerino](https://talk.jekyllrb.com/u/andreaballerino)\
**Post date:** [April 17, 2020, 9:03am UTC](https://talk.jekyllrb.com/t/how-to-remove-the-end-slash-from-the-img-tag/4239/2 "2020-04-17T09:03:41Z")

</div>

Thanks to **[David Jacquel](https://twitter.com/djacquel)** answered my question: [https://stackoverflow.com/a/61264446/2008070](https://stackoverflow.com/a/61264446/2008070)
