Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dataview rendering can end up in an infinite loop when the query is in a blockquote #2492

Open
roijalbaker opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working.

Comments

@roijalbaker
Copy link

roijalbaker commented Dec 6, 2024

What happened?

The bug

Infinite loop, usually crashes Obsidian

Screenshot 2024-12-06 at 13 56 37

from:

- [ ] test
>[!hint] task list
> ```dataview
> TASK
> WHERE file = this.file
> SORT completed
> ```

Expected behaviour: not show the code block in the dataview result

Screenshot 2024-12-06 at 13 52 52

from:

- [ ] test
```python
123
```

>[!hint] task list
> ```dataview
> TASK
> WHERE file = this.file
> SORT completed
> ```

When the code block is wrapped in a quote like this, it does show.

from:

- [ ] test
```python
123
```

>[!hint] task list
> ```dataview
> TASK
> WHERE file = this.file
> SORT completed
> ```

The result is that the quote shows up.
Screenshot 2024-12-06 at 13 55 53

DQL

TASK

JS

No response

Dataview Version

0.5.67

Obsidian Version

1.7.7

OS

MacOS

@roijalbaker roijalbaker added the bug Something isn't working. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant