W3 validator fails as components load additional <style> tags

When using components within Cornerstone/Pro, they include additional <style> tags within it. This is as well the case if you don’t even add additional styling within the builder CSS. In that case it will display it with an empty style tag <style></style>

The W3 validator fails as it’s not allowed to have tags within sub-trees:

It would be superb if you can prevent outputting any additional styles if there are none set (or maybe even merge the component CSS into the main inline CSS styles.

1 Like

Thanks for bringing this to our attention with the shortcodes. We’ll change that to be placed with our other inline CSS like you have outlined. Have a great weekend.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.