diff --git a/src/HelmetUtils.js b/src/HelmetUtils.js index 47827e3b..63c49650 100644 --- a/src/HelmetUtils.js +++ b/src/HelmetUtils.js @@ -530,10 +530,13 @@ const convertElementAttributestoReactProps = (attributes, initProps = {}) => { }; const convertReactPropstoHtmlAttributes = (props, initAttributes = {}) => { - return Object.keys(props).reduce((obj, key) => { + const attrs = Object.keys(props).reduce((obj, key) => { obj[HTML_TAG_MAP[key] || key] = props[key]; return obj; }, initAttributes); + + console.log("convertReactPropstoHtmlAttributes", {...attrs}); + return attrs; }; const generateTitleAsReactComponent = (type, title, attributes) => {