Quote marks in image caption with html output

audrey's Avatar

audrey

30 Aug, 2026 12:06 AM

The following input:

![caption containing "quoted" text](image.png)

invoked with multimarkdown --format=html test.md produces the following:

<figure>
<img src="image.png" alt="caption containing "quoted" text" />
<figcaption>caption containing &#8220;quoted&#8221; text</figcaption>
</figure>

which is invalid html. I'm using MMD 6.7.0. Is there any option to work around this, or is this just a bug?

  1. Support Staff 1 Posted by fletcher on 30 Aug, 2026 12:12 AM

    fletcher's Avatar

    It's a bug. But fixed in MultiMarkdown 7

    https://github.com/fletcher/MultiMarkdown-7

    Thanks!!

    Fletcher

  2. fletcher closed this discussion on 30 Aug, 2026 12:12 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Aug, 2026 12:12 AM
19 Dec, 2025 10:23 AM
25 Nov, 2025 06:47 PM
15 Aug, 2025 08:31 PM
08 Jun, 2025 06:23 PM

Recent Articles