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

Don't add undefined to VML paths if baseURL.url is missing #857

Merged
merged 2 commits into from Dec 10, 2022

Conversation

cossssmin
Copy link
Member

This PR fixes an issue where the string undefined was being prepended to VML src paths if you were using object syntax for baseURL, but somehow forgot to include the url key. This wasn't an issue for the rest of the markup, just when VML code was processed, so this makes the behavior consistent.

Also, baseUrl will also work now, just in case you were tired and made a typo :)

@cossssmin cossssmin merged commit 539cb37 into next Dec 10, 2022
@cossssmin cossssmin deleted the fix/baseURL-vml branch December 10, 2022 17:17
@brandondrew
Copy link

Awesome that you prefer the (more readable) baseURL but support the (uglier but common for some people) baseUrl 👍

(I'm glad someone else out there cares about not giving initialisms the same case as normal words 😅.)

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.

None yet

2 participants