Skip to content

Chore: Improve html template check #305

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

royalrex
Copy link

This PR simplifies the logic around template usage.

It adds a more strict check to html property of styleOptions and disregards empty strings.

The check that disregards empty strings as a valid value can be discussed. I believe it adds to convenience to disregard empty strings as a value, but it can also be a bit misleading as not error will be shown warning about setting that to empty.

This fix came when I was testing my other PR: Fix: properly destroy components after test case (#304)

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.

1 participant