org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.99k stars 109 forks source link

[BUG] Front-end crash on viewing node with invalid structure #242

Open jaydentanke opened 2 years ago

jaydentanke commented 2 years ago

Describe the bug When viewing a file with certain structure, the front-end crashes.

To Reproduce Clicking on this node crashes the front end.

:PROPERTIES:
:ID:       9578d53f-e282-4759-bc02-881637c83c41
:END:
#+title: Cooking

* Breakfast

- [X] Coffee
- [X] Almond milk
- [X] Oat milk
- [X] Eggs
- [ ] Rolled oats
*

Removing the last * fixes the crash.

Expected behavior The UI should probably not crash when viewing a file even if it has invalid structure.

Screenshots image

If applicable, add screenshots to help explain your problem.

What browser were you using? Chrome

Additional context Add any other context about the problem here.