I was using protostar for a looong time. I jsut bought a theme and switched to it (it uses helix framework).

As soon as i switched it. On all pages a text appeared "// You can place JavaScript like..." />" First line after body tag.

I though it was the sourcerer first i disabled it but nothing changed. I installed the theme to a fresh joomla install and vala no text there. But i am developing this site for long time. I dont know which extension is causing it. Weird thing is that it is not there if i use protostar.

No tags around, first text. I searched file contents and it didn't worked.

I can not see when it is loaded, i can not see which file outputs it. How can i debug something like this ?

  • Have you checked all the template settings? Many templates provide a text area to insert javascript. Commented Mar 5, 2018 at 3:42
  • @james Yes. Helix is clean, it has custom code settings all of them are empty text areas. I couldn't find anything like that in protostar. Commented Mar 5, 2018 at 3:53
  • 1. does it appear on non com_content pages, eg. a login page.? 2. does it appear if you load a page with &tmpl=component on the end of the url? 3. do you have a system plugin like jquery easy or something running? Commented Mar 5, 2018 at 4:24
  • @jamesgarrett i get it on login pages too. I do not get it on 404 not found page. I have jce editor and sourcerer plug-in which i suspected asap however when i disable it nothing changes. Commented Mar 5, 2018 at 5:22
  • @james sourcerer plug in writes "// You can place JavaScript like this" (ON PAGES) . But what i see at the top of the page right after body tag is "// You can place JavaScript like..." />" what the hell is this. I downloaded all the files and searched the contents in it. no luck . i found the sourcerer buyt its written "this" isntead of "..." i changed the text. top text is same. Commented Mar 5, 2018 at 5:30

1 Answer 1


There's a sourcerer tag used in the facebook og tag generator. If you switch the view source you can see it like this:

    <meta property="og:description" content=" <!-- You can place html anywhere within the source tags --> <script language="javascript" type="text/javascript"> // You can place JavaScript like..." />


The content you can see in the body is just spilling out the broken tag. I don't know whether the og tag is generated by the template or a plugin.

  • Thank you. Apparently, it was theme in theme files. calling additional functions which outputs that broken tag. Commented Mar 7, 2018 at 4:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.