New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KirbyTags] Markdown in image tag caption not rendered #1501
Comments
Do you remember if we had the same behavior in v2? Just trying to find out if it's a regression. |
Nope, in v2 it was escaped as well (and no KirbyText was rendered): https://github.com/getkirby-v2/kirby/blob/2.5.12/extensions/tags.php#L150 |
Anker tags definitely worked in K2... |
Making Markdown work would make sense, event though that didn't work in K2, either. |
The second issue with the link tags not rendering can be fixed by providing an array as the second parameter to
If we just pass a string, the string is If that's an acceptable solution, I have create a PR. |
✅ |
Describe the bug
When using markdown in a caption within an image KirbyTag e.g.
(image: myimage.jpg caption: This is an *awesome* image)
, it is not parsed but rendered as is.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Markdown should be parsed
Kirby Version
3.0.2
And since we are at it: HTML tags within captions aren't rendered, either: https://forum.getkirby.com/t/tags-in-figcaption-in-kirby3/13038/2
The text was updated successfully, but these errors were encountered: