Allow for markdown-containing captions (which also gives us smart quotes)
Fix margins in markdown-containing captions