• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

As designed No [PHP] trimming

Marcus

Well-known member
#1
PHP:
first and last lines should be trimmed in PHP etc. I think
It should look like this:
PHP:
first and last lines should be trimmed in PHP etc. I think
OK, not so much a minor bug, but it is useful I guess to trim empty spaces before and after the code as it helps rendering the information better.
 

Mike

XenForo developer
Staff member
#2
This isn't something we do with code or html tags either. I do see one potential minor inconsistency with the PHP tag though, but on the whole I think this is perhaps more of an end user choice -- the line breaks would have been intentionally put in (or left).