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

Fix inline list rendering in live preview #2387

Merged

Conversation

reply2za
Copy link
Contributor

@reply2za reply2za commented Jul 13, 2024

Resolves #2385, #2281.

In live preview, only the last item of the list would display. Reading view displayed the fields correctly. This PR resolves such rendering issues in live preview.

Tested locally to ensure that lists are now rendered as expected.

Edits are formatted & all tests pass.

Example

Source

- [Things to See and Do: :: "Views", "Train", "test"]
- [Things to Eat: :: "Pizza", "Pasta", "Donuts"]

Live Preview Before

image

Live Preview After

image

@blacksmithgu
Copy link
Owner

Thanks!

@blacksmithgu blacksmithgu merged commit 6a6e025 into blacksmithgu:master Jul 16, 2024
3 checks passed
@Tejeev
Copy link

Tejeev commented Jul 17, 2024

Thank you both!

reply2za added a commit to reply2za/obsidian-dataview that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lists only show last element in preview mode
3 participants