Fixed the nesting same-name tags bug, nested quotes should work perfectly again.
I also added some messages that the bbcode parser will give you when it detects issues with your bbcode (Such as writing a tag that doesn't exist, opening a tag without a matching close tag, etc.).
Finally, I also added a tag so that it's possible to write bbcode literally without it being parsed.
I'd also like some feedback, here is a list of the currently implemented tags. I'd like suggestions on any potential additions to this list.
[nobbc]
[i] - Italics
[b] - Bold
[u] - Underline
[s] - Strikethrough
[color=...] - Set text color.
[size=...] - Set text font size.
[font=...] - Set a specific font face.
[url=http://...] - Make the elements inside hyperlinks to the specified url.
[abbr=...] - Make elements inside have title text.
[center] - Center align
[left] - Left align
[right] - Right align
[just] - Justify
[quote Name] - Make a blockquote from Name.
[img] - Embed an image
[video] - Embed a raw video file.
[youtube] - Embed a youtube video.
[vimeo] - Embed a vimeo video.
[hr] - Make a horizontal line.
[nobbc] - Skip bbcode parsing of text within this tag.
[noparse] - Alias of nobbc.
Any feedback about potential tag additions or changes is welcome.