fletcher / MultiMarkdown-4

This project is now deprecated. Please use MultiMarkdown-6 instead!
https://github.com/fletcher/MultiMarkdown-5
Other
307 stars 59 forks source link

html: Don't generate empty <figcaption> tag #58

Closed Nyx0uf closed 10 years ago

Nyx0uf commented 10 years ago

The current implementation always generate a

tag even if there is no description, which results in code like this:

This is kinda useless, fix it by adding 2 simple check.

fletcher commented 10 years ago

If it makes you happy. ;)