ryanguill / roam-tools

simple tools for roamresearch
MIT License
39 stars 4 forks source link

Bug: combination of remove brackets and remove namespaces deletes [[references without namespace]] #13

Open teodorlu opened 3 years ago

teodorlu commented 3 years ago

Hey! Thanks for a great tool, it's such a fine help when pulling stuff out of my Roam DB to communicate with others.

How to reproduce

Paste into into roam-tools:

... [[part1 no namespace]] ... [[ns/part2 with ns]] ...

Activate

URL params: https://roam-tools.ryanguill.com/?add-line-breaks=1&remove-double-brackets=true&remove-namespaces=true

Expected behavior

... part1 no namespace ... part2 with ns ...

Observed behavior

... part2 with ns ...

Have a nice day!