fix: do not lowercase SVG tags in RSC
This commit is contained in:
parent
3d9b6c626d
commit
a24519a44b
|
@ -10,6 +10,7 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|||
- fix: update interaction prompt and interaction promp style attributes for Model3d
|
||||
- feat: use Image url field instead of deprecated originalSrc field
|
||||
- feat: switch to unstable API
|
||||
- feat: fix lowercased SVG tags in RSC
|
||||
|
||||
## 0.5.8 - 2021-11-04
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ function renderReactProp(prop: any): any {
|
|||
export function parseReactFromString(input: string, options: any = {}) {
|
||||
return domToReact(
|
||||
// @ts-ignore
|
||||
htmlToDOM(input, {lowerCaseAttributeNames: false}),
|
||||
htmlToDOM(input, {lowerCaseTags: false, lowerCaseAttributeNames: false}),
|
||||
options
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue