Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Codeblocks not rendering correctly, instead showing up as lists of [object Object], [object Object],...

  • 8 replies
  • 0 have this problem
  • 8 views
  • Last reply by cor-el

more options

How do I fix the code block rendering issue?

How do I fix the code block rendering issue?
Attached screenshots

All Replies (8)

more options

Can you provide an example of a site where that occurs and what should appear instead of what does appear?

more options

The same issue is reported in the thread linked below.

https://support.mozilla.org/en-US/questions/1404953

more options

Did you also ask this at github site forum about this as well?

more options

I have not

more options

Works for see, so it is possible that you have a content blocking extension that blocks JavaScript.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, DuckDuckGo PE, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

Firefox shows a purple shield instead of a gray shield at the left end of the location/address bar in case Enhanced Tracking Protection is blocking content.

  • click the shield icon for more detail and possibly disable the protection

You can check the Web Console for relevant-looking messages about blocked content.


You can try these steps in case of issues with webpages:

You can reload webpage(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • hold down the Shift key and left-click the Reload button
  • press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • press "Command + Shift + R" (Mac)

Clear the Cache and remove the Cookies for websites that cause problems via the "3-bar" Firefox menu button (Settings).

"Remove the Cookies" for websites that cause problems:

  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Data"

"Clear the Cache":

  • Settings -> Privacy & Security
    Cookies and Site Data -> Clear Data -> [X] Cached Web Content -> Clear

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window
more options

If you are still having trouble with this, do you have the Merlin extension? Disabling it fixed this issue for me and another user who posted the same problem. A pity really :( Good luck!

more options

Yes, this user has the Merlin extension.