Brandon: More new features
Ok, so I got a little creative, and implemented some simple tags to make editing posts and comments a little easier.
I think the regex's and recursion works decently now. And I implemented a code tag, so here is a short tutorial on how to make this new stuff work.
HTML still works, I may remove it at some point due to security concerns, but, I'm lazy, so probably not.
Code:
- Code:
So, some quick examples
Bold text with Italics inside the tag
Quote Darth Vader
Vent 2
Ok: I am done, I promise
Ok, so I got a little creative, and implemented some simple tags to make editing posts and comments a little easier.
I think the regex's and recursion works decently now. And I implemented a code tag, so here is a short tutorial on how to make this new stuff work.
HTML still works, I may remove it at some point due to security concerns, but, I'm lazy, so probably not.
Code:
Vent2's quick and dirty BBCode hack.
[b]text[/b] - [b] - Bold
[i]text[/i] - [i] - Italic
[img]http://pathto.img[/img] - [img] - Image, place path to image within the [img][/img] tags
[url]http://www.site.url[/url] - [url] Creates a link to the location between the [url][/url] tags.
[url="http://www.site.url"]Link[/url] = [url] Creates a link to the site with the name contained between the tags
[quote]Quote[/quote] - [quote] Quotes text.
[quote="Brandon"]Quote[/quote] - [quote] - Quotes text and attribues the quote to the name in quotes.
[code]Code!
- The code block, to show off code and stuff.
Also, HTML does not work inside [code] blocks, for example.
<a href="http://www.sevensoupcans.com/vent2">Vent</a>
So, some quick examples
Bold text with Italics inside the tag
Quote Darth Vader
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Vent 2
Ok: I am done, I promise
I take it your in a lab class. (This comment is really just a way for me to test the quote tag.)
I am misunderstanding something here...