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

Bug: Image caption not imported correctly #2113

Closed
pssandhu opened this issue Aug 16, 2021 · 1 comment
Closed

Bug: Image caption not imported correctly #2113

pssandhu opened this issue Aug 16, 2021 · 1 comment

Comments

@pssandhu
Copy link

Describe the bug
When a note is exported as HTML the image caption is placed in a <figcaption>. However, when the HTML file is imported back into trilium the image caption is empty. Opening the note externally or exporting it again shows that the caption is now just text next to the <img> tag with the <figcaption> missing.

To Reproduce

  1. Create a note with an image and give it a caption
  2. Export the note as HTML
  3. Import the note
  4. Observe the missing caption

Version: 0.47.5

@zadam zadam closed this as completed in e050e38 Aug 20, 2021
@zadam
Copy link
Owner

zadam commented Aug 20, 2021

Hi, thanks for reporting, this was fixed in master and will be released in 0.48

zadam added a commit that referenced this issue Aug 21, 2021
(cherry picked from commit e050e38)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants