Is it possible to add bbcode for tag <pre></pre> ?
If so, how?
Thanks a lot
Use the [co de] tag, remove the space between the o and d.
Code goes here.
or make a mycode for <pre> if you want it without extras. without additional css it may be possible to break your forum layout with it though
(2011-01-10, 04:47 PM)frostschutz Wrote: [ -> ]or make a mycode for <pre> if you want it without extras. without additional css it may be possible to break your forum layout with it though
But this way still replace '\n' with <br \> which add extra line for me
Right... in that case, back to [code] it is, or a plugin / code modification, see how [code] is implemented in the post parser.