apple-news icon indicating copy to clipboard operation
apple-news copied to clipboard

Allow HTML in Image Caption

Open fangyizhu opened this issue 10 months ago • 2 comments

Description

Hello,

We sometimes have HTML tags in image caption, currently they are not rendered as HTML, but as plain text.

We can avoid this issue by not having HTML tags in image captions, but it would be better if they can be rendered as HTML.

Screenshot 2024-04-16 at 1 26 56 PM

Use Case

Links in image caption.

fangyizhu avatar Apr 16 '24 20:04 fangyizhu

Hi @fangyizhu —

I'm not able to replicate this issue using the latest version of the plugin in a sandbox environment. I've tried in both the block editor and the classic editor, and the link is rendering properly in both cases. Additionally, there is an automated test that confirms the behavior of HTML, including links, in image captions, which is passing.

Is it possible that there is something in your theme or one of the other plugins you are using that is causing a conflict here?

kevinfodness avatar Apr 22 '24 20:04 kevinfodness

Our channel is pending Apple approval, so I'll get back to you with more examples some time next week.

fangyizhu avatar Apr 23 '24 20:04 fangyizhu

It's not a problem for us anymore. If we run into it again I'll reopen.

fangyizhu avatar Jun 14 '24 04:06 fangyizhu