Obviously, I am using square brackets instead of curlies but I switched them so the code wouldn't get processed. Why in the world does it add those paragraph bbcodes? Is "code" not the proper convention for adding code to a forum post? If not, what method would preserve the spacing and such? Thanks.
Obviously, I am using square brackets instead of curlies but I switched them so the code wouldn't get processed. Why in the world does it add those paragraph bbcodes? Is "code" not the proper convention for adding code to a forum post? If not, what method would preserve the spacing and such? Thanks.
Code tags seem to have been broken since the new forum system was introduced (and prior, if my memory is correct). Doesn't like HTML or Javascript either, i've just been linking to pastebin as a workaround.
I wanted to put some PHP code in a post, so I assumed it would be like other forums and I could do:
{code}
<?php
echo "Hello World";
?>
{/code}
But what I got was this:
Obviously, I am using square brackets instead of curlies but I switched them so the code wouldn't get processed. Why in the world does it add those paragraph bbcodes? Is "code" not the proper convention for adding code to a forum post? If not, what method would preserve the spacing and such? Thanks.
Code tags seem to have been broken since the new forum system was introduced (and prior, if my memory is correct). Doesn't like HTML or Javascript either, i've just been linking to pastebin as a workaround.
K95 RGB / Logitech G502 PS / Alienware AW3418DW / ViewSonic XG2703-GS / Sennheiser HD 598
Ahh. OK, I'll just do that. Thanks!
Sorry for the inconvenience, I'll report this to the development team for investigation. Thank you for your patience :-)
No worries, it's not a huge deal. Thanks for the reply!