- 🇮🇳India pradeepjha
I've tested this patch. Below getting below `js not enabled` everywhere in site.
When you enable the field "Enable JavaScript + CSS + Noscript protection", it injects a bit of code into the head
of the document. Included in that code is a div around some text. When the page is checked for valid HTML using the W3C validator, it causes the error "Bad start tag in div in noscript in head." since the div tag is not allowed in the head of the document, but is required for proper styling.
Split the code and the message, and add the message as the first child of the body
tag, where div
tags are allowed.
Reviews needed
None
None
None
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I've tested this patch. Below getting below `js not enabled` everywhere in site.