emanote
emanote copied to clipboard
Cyclic note embedding
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:
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.