This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Pre/code tags sometimes show incorrectly

  • 3 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

Viewing code snippets on Slack is broken. I can view code on Microsoft.com fine, and Slack in Edge displays correctly. So, I don't know if it's a Slack or Firefox issue or some combination.

Found a post about checking the monospace font, but that seems fine.

Firefox 94.0.1 (up-to-date).

I've tried disabling all extensions.

Screenshot below:

Viewing code snippets on Slack is broken. I can view code on Microsoft.com fine, and Slack in Edge displays correctly. So, I don't know if it's a Slack or Firefox issue or some combination. Found a post about checking the monospace font, but that seems fine. Firefox 94.0.1 (up-to-date). I've tried disabling all extensions. Screenshot below:

Chosen solution

I'm sorry, but it seemed to be a problem just with one article on Slack. I don't know how to delete my question, but I'm sorry for the false report.

Read this answer in context 👍 0

All Replies (3)

more options

Screenshot didn't take first time.

more options

Chosen Solution

I'm sorry, but it seemed to be a problem just with one article on Slack. I don't know how to delete my question, but I'm sorry for the false report.

more options

You can right-click and select "Inspect Element" to open the built-in Inspector with this element selected.

You can check in the Rules tab in the right panel in the Inspector what font-family is used for selected text. You can check in the Font tab in the right panel in the Inspector what font is actually used because Firefox might be using a different font than specified by the website.