I have added following code to my Joomla template index.php:
<noscript>
<div></div>
<link rel=stylesheet href="/media/style.css"/>
</noscript>
But Joomla changed it into:
<noscript><div></div><link rel=stylesheet href="/media/style.css"/></noscript>
Which won't work because of missing angel brackets.
Code is inside , but putting it into body didn't help. Also creating a module returned same result. I know that div tag doesn't make any sense. It is only for testing and removing it doesn't help.
Does anyone know, how to prevent Joomla from messing my noscript tags? Thanks in advance for any advices!
index.php
file. If this is happening, it's most likely a template helper file or a plugin doing so.<!DOCTYPE html> <html> <head> <noscript> <link rel=stylesheet href="/media/style.css"/> </noscript> </head> <body> </body> </html>
But it returned same result. Are you sure, that it isn't basic Joomla action? I am using Joomla 3.6.5.<div></div><
? On the actual page or when you open your browser inspector? Also, which template are you using?