Originally posted by tomtom232A better fix would be, if shortening text, to exclude both the [] and the corresponding [/], or neither.
Sometimes the text shortens to exlude a "[/]"
This makes your reply automatically show up as the last [b or i] used.
I suggest either making the text shorten code refrain from deleting any []s or [/]s OR for any of these in a quoted post not to have any effect on the new post.
But that assumes that the post was correct in the first place. You can mess up a post by putting random, unpaired [] or [/]s in (like this[/i]) and that causes the ideal algorithm to fail. Then again, one could argue that such a post was broken to begin with, and if the quote is also broken, that's not the code's fault but the poster's.
Richard
Originally posted by Shallow BlueThen go with my second suggestion.
A better fix would be, if shortening text, to exclude both the [] and the corresponding [/], or neither.
But that assumes that the post was correct in the first place. You can mess up a post by putting random, unpaired [] or [/]s in (like [b]this[/i]) and that causes the ideal algorithm to fail. Then again, one could argue that such a post was brok ...[text shortened]... th, and if the quote is also broken, that's not the code's fault but the poster's.
Richard[/b]
Make it so that code from a quoted post doesn't effect the new post.