-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 report) Evernote import places images and attachments at end #3503
Labels
Comments
Thanks, fixed based on the sample import you provided. |
All images are still at the bottom of the note. In my case source of trilium note is the same either before and after f738787 applied over tag v0.57.5
|
Test enex file with the note above: |
There was another fix for this a couple of days ago. You need to use master branch. <div>First line, first image follows</div>
<div>
<img src="api/images/81sqKw2DqxyT/Image.png">
</div>
<div>Second line, first image follows</div>
<div>
<br>
</div>
<div>
<img src="api/images/PQePFzr2Wevb/image.png">
</div>
<div>
<br>
</div> |
Included e40f1fd and now it works! Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trilium Version
0.57.5
What operating system are you using?
Other Linux
What is your setup?
Server access only
Operating System Version
Docker, on a Synology
Description
Note Export.1.enex.zip
^ was generated by Evernote Legacy
When imported, this does not place the images in their correct location.
I have my suspicions as to why. In
enex.js
:trilium/src/services/import/enex.js
Line 272 in 43c5163
the regex matches
en-media
elements in which thehash
attribute comes first. However, in thisenex
file, there is:In other
enex
es (that are private and that I can’t share) I see:You may need to expand the regex you use.
Thanks for being so responsive!
Error logs
No response
The text was updated successfully, but these errors were encountered: