diff --git a/src/shell/components/Head/Head.js b/src/shell/components/Head/Head.js index 602c1d900..a88f85ec5 100644 --- a/src/shell/components/Head/Head.js +++ b/src/shell/components/Head/Head.js @@ -49,7 +49,7 @@ export default connect((state, props) => { const legacyHeadTags = useMemo(() => { const customRawLegacyHeadTags = rawLegacyHeadTags?.filter( - (tag) => tag.resourceZUID === null && tag.ID > 1 + (tag) => tag.resourceZUID === null && tag.ID > 1 && tag.type !== "doctype" ); return customRawLegacyHeadTags?.map((tag) => {