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

Changes th width property to string type in schema #472

Merged
merged 2 commits into from Nov 30, 2023
Merged

Conversation

rpaul-stripe
Copy link
Contributor

@rpaul-stripe rpaul-stripe commented Nov 28, 2023

The schema for the th node was written to expect a number for the width attribute, but when the width attribute is rendered literally in markup it needs to be a string. This PR changes the schema and also increments the package's version so we can push an update.

Closes #471

Copy link
Contributor

@mfix-stripe mfix-stripe left a comment

Choose a reason for hiding this comment

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

package.json Outdated
@@ -1,7 +1,7 @@
{
"name": "@markdoc/markdoc",
"author": "Ryan Paul",
"version": "0.3.5",
"version": "0.3.6",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably release this as a new minor version right? Just in case it breaks folks' validation.

@rpaul-stripe
Copy link
Contributor Author

@mfix-stripe changed it from 0.3.6 to 0.4.0.

@rpaul-stripe rpaul-stripe merged commit f59adb5 into main Nov 30, 2023
2 checks passed
@rpaul-stripe rpaul-stripe deleted the table-fix branch November 30, 2023 21:23
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.

Table's width attribute throws type error on strings
3 participants