Components wrapped in unnecessary <html> tags after update to v8.18.8
After patching Umbraco 8 to the latest build I can see there are tons of tags in the rendered source code. Seems like razor components are wrapped to unnessary tags like this:
<html>
<head>
</head>
<body>
<ACTUAL COMPONENT HTML HERE>
</body>
</html>
Maybe like some setting in web.config is off, any ideas?
Components wrapped in unnecessary <html> tags after update to v8.18.8
After patching Umbraco 8 to the latest build I can see there are tons of tags in the rendered source code. Seems like razor components are wrapped to unnessary tags like this:
Maybe like some setting in web.config is off, any ideas?
Hi Jukka-Pekka
Check your Views folder for a new _layout.cshtml file that probably contains the extraneous Html
and a new _ViewStart.cshtml file which is probably adding the rule for all your views to use that _layout.cshtml file!
Or at least, I've had that before do a similar thing to what you describe!
regards
Marc
is working on a reply...