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

Exported picture bad format when nested into a table #87

Closed
Bratieres opened this issue Jul 8, 2023 · 4 comments
Closed

Exported picture bad format when nested into a table #87

Bratieres opened this issue Jul 8, 2023 · 4 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Bratieres
Copy link

Bratieres commented Jul 8, 2023

Describe the bug
Some embedded pictures in OneNote when imported into Joplin have bad syntax format :

""![image1](:/e887b8c3c94f417cb877b0ae5f264510)"" instead of ""image1""

As display is interpreted, even with double quotes, I explain it : there is an explicit backslash before [ and ]

To Reproduce

Steps to reproduce the behavior.
Ideally, export a basic OneNote notebook (.onepkg) that can be use to reproduce the issue. Tutorial to export .onepkg file is available here. (zip of page export)

Expected behavior
No backslash arround brackets, removing backslash makes picture be OK.

Attached file is exported page having this problem. Others pages of this notebook are OK and some pictures (the last ones) of this page are OK too.

Logs
Join the "logs.txt" log file located in the directory of the tool.
⚠️ Ensure that the log file do not contain any personal data ⚠️

Desktop (please complete the following information):

Additional context
Add any other context about the problem here.

@Bratieres Bratieres added the bug Something isn't working label Jul 8, 2023
@alxnbl alxnbl pinned this issue Sep 1, 2023
@alxnbl
Copy link
Owner

alxnbl commented Sep 1, 2023

Thank for your report. Sorry but I will be very busy the next few months and will not be able to have a look to the issue. Hopefully, a kind contributor will take a look at your problem.

@Bratieres
Copy link
Author

Bratieres commented Sep 20, 2023

Have had a new look to this. It seems it happens in tables only

To avoid text substitution, I have inserted one " " before all "[" and after all "<" below.


! [image2] (:/ff87503a205644719d6f5fa65fae91b6)

alone : works and displays image BUT

< table>
! [image2] (:/ff87503a205644719d6f5fa65fae91b6)
< colgroup>

Does not display picture but text " ![..."

@alxnbl
Copy link
Owner

alxnbl commented Sep 20, 2023

Indeed, it is a known limitation / bug of the tool. I insert markown image reference inside HTML table, which is not valid markdown. To be corrected in the future but I do not have an easy solution right not to fix it.

@alxnbl alxnbl changed the title Exported picture bad format Exported picture bad format when nested into a table Sep 21, 2023
@alxnbl alxnbl added the enhancement New feature or request label Sep 22, 2023
@alxnbl
Copy link
Owner

alxnbl commented Sep 22, 2023

Duplicate of #48

@alxnbl alxnbl marked this as a duplicate of #48 Sep 22, 2023
@alxnbl alxnbl closed this as completed Sep 22, 2023
@alxnbl alxnbl unpinned this issue Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants