WOBS-3528: Adds stripping of tags when rich text captions are disabled