WOBS-3528: Fixes rendering of rich text caption in image in body
template