Using code tags on a single line of code formats it differently than a multi-line block of code. (Grey background does not show, and shows in a small font.)

Placing a hard return inside the code tag to make it two lines fixes the issue as a workaround.

[code]This causes an issue[/code]

[code]This does not
[/code]

Comments

naudefj’s picture

Assigned: Unassigned » naudefj
Priority: Normal » Minor
Status: Active » Closed (works as designed)

You can control how these tags are displayed by updating your CSS file:

Embedded code (single line) - class="bb-code"
Code Block - class="bb-code-block"