Allow HTML input in image caption fields (see #5948)