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: stop lowercasing viewBox #108

Merged
merged 1 commit into from
Feb 16, 2024
Merged

fix: stop lowercasing viewBox #108

merged 1 commit into from
Feb 16, 2024

Conversation

deer
Copy link
Contributor

@deer deer commented Feb 4, 2024

Hey @crowlKats, I'm actively working on converting to the unified ecosystem. I'm trying to get compatibility with the existing functionality. This is an ambitious goal, but I mainly want to learn about how rehype/remark/unified work. Once we have compatibility, we can see about changing things, perhaps with a major version bump.

But as I was working on this, I noticed that we're currently converting viewBox to viewbox. This is incorrect, as per the specification. I've fixed this here, and I've added a few miscellaneous tests that don't provide a lot of value to the current system, but will help me achieve compatibility with the new one.

Copy link
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@crowlKats crowlKats merged commit 1b535c3 into denoland:main Feb 16, 2024
1 check passed
@deer deer deleted the viewBox_bug branch February 16, 2024 09:05
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