<img> instead of <video> tag inserted for image:: foo.mp4

Agathe Porte <[email protected]> Wed, 27 Apr 2022 11:36:16 +0200
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Dear Docutils maintainers,

I am using docutils 0.18.1. When feeding the following input to docutils 
via pelican [0] :

.. image:: 
/blog/2022/04/27/exporting-mov-and-mp4-animations-from-gimp/out.mp4
    :alt: test

I get the following HTML output:

<img alt="test" 
src="/blog/2022/04/27/exporting-mov-and-mp4-animations-from-gimp/out.mp4">

However, according to the documentation [1], this should export a 
<video> tag instead of a <img> tag given that the file extension is ".mp4".

[0] https://blog.getpelican.com/
[1] https://docutils.sourceforge.io/docs/ref/rst/directives.html#footnote-1

Please keep me in Cc, I am not subscribed to this list.

Best regards,

Agata.



_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.