fix(core): update

This commit is contained in:
2020-11-05 20:03:12 +00:00
parent bab9124ad9
commit 74fc97a220
5 changed files with 7 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ export class JsonLdTag extends Tag {
super();
const jsonLdElement = document.createElement('script');
jsonLdElement.type = 'application/ld+json';
jsonLdElement.text = JSON.stringify(JSON.stringify(ldObjectArg));
jsonLdElement.text = JSON.stringify(ldObjectArg);
this.elementRef = jsonLdElement;
}
}