I am making my own forum and it's pretty much done so far. I am however stuck when it comes to BB code.
How would I convert this (without dot):
[.url]http://example.org[/url]
into this:
<a href="http://example.org" target="_blank">http://example.org</a>
without any security holes?
BB Code
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US