As designed Spacing issue when using [php] tag

AndyB

Well-known member
Affected version
Beta 7
The space below the [ php ] tag is not correct.

Example:

1508644212730.webp

This is what it looks like while editing:

1508644309483.webp

I'm using Firefox.
 
You'll note that quote is the same, but we intentionally strip a line break after some of the block tags to give a more consistent appearance.

XF1 has always done the same thing too.
 
You'll note that quote is the same

Hi Mike,

It's not exactly the same, in XF1 the space was larger.

1508687269416.webp

Ideally you could increase the space a little more in XF2, perhaps to the same spacing as if there was a line break.

Thank you.
 
Hi Mike,

Would you please take a second look at this. The [ QUOTE ] problem is solved by stripping the line break and adding padding, but it would be great if you could treat the [ PHP ], [ CODE ] and [ HTML ] tags differently, coders typically use the BB code view and will add the line break and that causes problems.

Thank you.
 
Last edited:
Back
Top Bottom