Fix for HTML in captions, issue #1