Files
webawesome/patches/hastscript+8.0.0.patch
Konnor Rogers 92533c0297 Convert to Starlight (#22)
* first pass at starlight

* converting to starlight

* working on converting to starlight

* working on data

* watch custom-elements.json

* turn on pagefind

* add component meta data

* fix renderings / overrides.

* fix mdx logo

* continue starlight work

* building site

* get global styles + reloads working

* themer fixes

* adding additional headings

* working on dynamic content

* have TableOfContents.astro push to TOC

* working on code stuff

* remove code preview

* deploy

* add patch package

* patch in build

* patch in build

* remove {% raw %} calls

* convert to starlight...complete

* prettier

* update lockfile

* merge main

* fix index.mdx

* prettier'

* fix small things

* docs updates

* add dark mode shortcut

* prettier

* prettier

* prettier

* remove pagefind from public

* add twitteR

* prettier

* fix tests

* prettier
2024-02-05 11:02:14 -05:00

16 lines
602 B
Diff

diff --git a/node_modules/hastscript/lib/create-h.js b/node_modules/hastscript/lib/create-h.js
index 928676f..569e30d 100644
--- a/node_modules/hastscript/lib/create-h.js
+++ b/node_modules/hastscript/lib/create-h.js
@@ -154,7 +154,9 @@ function isProperties(value, name) {
return false
}
- if (name === 'input' || !value.type || typeof value.type !== 'string') {
+ // Temporary fix.
+ // Issue: https://github.com/withastro/astro/issues/9717#issuecomment-1900540623
+ if (name === 'input' || name.split(/-/)[1] || !value.type || typeof value.type !== 'string') {
return true
}