View Single Post
Timocop
AlliedModders Donor
Join Date: Mar 2013
Location: Germany
Old 04-26-2017 , 03:32   Re: Why not remove the [code] tag?
Reply With Quote #18

Quote:
Originally Posted by edon1337 View Post
;)
Ah i see.

Also seems like the pawn tag isnt actually a real tag, its just some kind parser tag.
If you switch the "Editor Mode" (in the top right corner) 4 times (Or hit Preview post) with a pawn tag somewhere you can see that the pawn tag is gone and instead its font and color hardcoded.

Also if you use a pawn tag inside a pawn tag (bug):
Code:
<!-- Code block --> <div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px">Code:</div> <pre class="alt2" dir="ltr" style="margin: 0px;padding: 6px;border: 1px inset;width: auto; height: px; text-align: left; overflow: auto"><div class="pawn" style="font-family: monospace;"><font face=<span style="color: #800080;">"monospace"</span>><font face=<span style="color: #800080;">"monospace"</span>><font face=<span style="color: #800080;">"monospace"</span>><font face=<span style="color: #800080;">"monospace"</span>>new val = <span style="color: #0000dd;">1</span></font></font></font></font></div></pre> </div> <!-- /Code block -->


PHP tag inside PHP tag (correct):
PHP Code:
[PHP]new val 1
[/PHP]
Timocop is offline