Post by pelf
If I line up the codes with tags on lines of their own, this is an example output:========================================================================
I said something funny!.
I said something funny too!.
But neither of you said something with code in it!
for (int i = 0; i < 30; i++) i--;
Gifts of food may come and go but infinite loops are forever.
I would expect the output to be more like the way it looks if I play with the spacing, thus:========================================================================
I said something funny!.
I said something funny too!.
But neither of you said something with code in it!
for (int i = 0; i < 30; i++) i--;
Gifts of food may come and go but infinite loops are forever.
========================================================================
Perhaps the way the tags are parsed and converted to HTML could be changed a bit to ignore the first line break after the opening tag? Also, for the code block, I would say add an additional line break previous to the HTML code block so that it has as much space off of the top as it does off of the bottom.
========================================================================
The last bit is about the consistency of the way attributes of tags are handled.
{url=
http://www.site.com/}Link Text{/url}
{quote Poster}Body.{/quote}
url uses = where quote uses space.