Skip to content
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

Incorrect rendering of the Annotation icon in Image captions #7362

Closed
4 tasks done
MrEddX opened this issue Jul 13, 2024 · 2 comments
Closed
4 tasks done

Incorrect rendering of the Annotation icon in Image captions #7362

MrEddX opened this issue Jul 13, 2024 · 2 comments
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@MrEddX
Copy link
Contributor

MrEddX commented Jul 13, 2024

Context

Trying to insert annotation in an image caption.

Bug description

Adding an image with annotation in the image caption, results in incorrect half-rendered icon.

Not clicked icon Clicked icon
image image

Related links

Already discussed in #7357

Reproduction

9.5.28-annotation-in-image-caption.zip

Steps to reproduce

  1. Insert image with image caption plus annotation;
Details
...
<figure markdown>
  ![Image title](https://dummyimage.com/600x400/){ width=300 }
  <figcaption markdown>Image caption (1) text
  { .annotate }

  1. And the annotation text.

  </figcaption>
</figure>
...
  1. Run mkocs serve
  2. Open the page with the inserted image.

Browser

Edge, Firefox

Before submitting

@squidfunk squidfunk added the needs investigation Issue must be investigated by the maintainers label Jul 13, 2024
@squidfunk
Copy link
Owner

squidfunk commented Jul 13, 2024

Thanks for reporting and providing the reproduction! Fixed in 33452c9. This commit also resets the font style back to the initial value (= not italic), which was also erroneously applied.

Bildschirm­foto 2024-07-13 um 22 53 32

@squidfunk squidfunk added bug Issue reports a bug resolved Issue is resolved, yet unreleased if open and removed needs investigation Issue must be investigated by the maintainers labels Jul 13, 2024
@squidfunk
Copy link
Owner

Released as part of 9.5.29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants