emanote icon indicating copy to clipboard operation
emanote copied to clipboard

Cyclic note embedding

Open kukimik opened this issue 2 years ago • 0 comments

Describe the bug Embedding notes may create cycles:

some_note.md:

blah

![[other_note]]

blah

other_note.md:

aaa

![[some_note]]

bbb

Screenshots The result (in live preview) looks like this: Peek 2022-10-11 22-10

Expected behavior I think the cycle should be detected and the embedding should stop at this point, probably displaying some message in place of the non-embedded note.

Additional context I was asked to open an issue in https://github.com/EmaApps/emanote/issues/24#issuecomment-1272622796.

When this was first reported on 8 Nov 2021, I couldn't open any of the notes in browser (the page didn't load at all, it looked like it was waiting for some infinite loop to finish). Now I can do it. I don't know whether it's the result of some change in emanote itself, or me using another computer.

kukimik avatar Oct 23 '22 18:10 kukimik