notea-org / notea

📒 Self hosted note taking app stored on S3
2.08k stars 383 forks source link

fix: improve support for embedding complex urls #117

Closed tuur29 closed 3 years ago

tuur29 commented 3 years ago

In addition to supporting links with a hashtag, this should also resolve issues when trying to embed a link with multiple queryparams (only the first was parsed now).

Preview

For example, embedding a drawio/diagrams link (all data is put after a #).

https://user-images.githubusercontent.com/2472626/138601729-6b5eb07a-e79d-402d-bbcb-3756126d61a3.mp4