Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 6 forks source link

Expandable Parentheticals parsing is wrong. #669

Open sebastianpech opened 3 years ago

sebastianpech commented 3 years ago

Describe the bug

See this example:

Just the blockref: ((Mja3MyahI))
One ( before the blockref: (((Mja3MyahI))
Additional () around the blockref: (((Mja3MyahI)))
Two ( before the blockref: ((((Mja3MyahI))
Additional two () around the blockref: ((((Mja3MyahI))))

image

I would expect that the ones with three parentheses don't parse as expandable, so basically resolving this from inside out, such that everything that is a blockref remains as one.

For context and why I stumbled upon this. I had a statement and referred to locations for further reading by adding a blockref and a page in parenthesis after that statement. image Expect this to render like this (without the additional space of course) image

System Information: