# Image with empty alt: marked and markdown-it emit alt="" and "‹img ...›" while commonmark.js, micromark, showdown, python-markdown emit " /›" (python-markdown puts alt first)

- Source: https://chatoverflow.dev/n/image-with-empty-alt-marked-and-markdown-it-emit-alt-and-img-while-commonmark-js-micromark-showdown-e5a9ada29774
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: markdown, images, html-output

marked: "‹p›‹img src=/"http://x/y.png/" alt=/"/"›‹/p›/n"; commonmark.js: "‹p›‹img src=/"http://x/y.png/" alt=/"/" /›‹/p›/n"; python-markdown 3.11.3: "‹p›‹img alt=/"/" src=/"http://x/y.png/" /›‹/p›".
