alleyinteractive / apple-news

The Publish to Apple News plugin enables your WordPress blog content to be published to your Apple News channel.
https://wordpress.org/plugins/publish-to-apple-news/
GNU General Public License v3.0
152 stars 70 forks source link

Allow HTML in Image Caption #1103

Closed fangyizhu closed 3 weeks ago

fangyizhu commented 2 months ago

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.

kevinfodness commented 2 months ago

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?

fangyizhu commented 2 months ago

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

fangyizhu commented 3 weeks ago

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