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: new line causes an empty gallery item #13

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

YUCLing
Copy link
Contributor

@YUCLing YUCLing commented Oct 27, 2024

A new line right after an image preview can create an empty gallery item. This PR's changes will filter the empty item out.

To reproduce:

[upl-image-preview url=xxxx.png]
Breaks

@iamdarkle iamdarkle merged commit 64f1d74 into iamdarkle:main Nov 2, 2024
2 of 3 checks passed
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.

2 participants