I've fixed this as follows:
The <code> tag is one level below a <pre> tag. I've given the <pre> tag the following CSS attributes:
word-wrap: anywhere;
white-space: pre-wrap;
This fixed it for me. I'd suggest that you add those attributes to your CSS, because it seems that that's what you're expecting to happen, but apparently not all browsers act that way by default.
<code> and <pre> are locked and using your browser's default user agent stylesheet. There's no need to modify them to accommodate a browser that doesn't support (for unknown reasons) them.
They're using the default stylesheet because your stylesheet doesn't override its defaults. I don't know what you mean by "locked". You can style those elements.
They're using the default stylesheet because your stylesheet doesn't override its defaults.
That's incorrect. Torbrowser is based on Firefox and it looks like its default stylesheet doesn't seem to handle <pre> and/or <code> properly (works perfectly fine with all the other browsers). You should submit a bug report to its devs.
(post is archived)