Jump to content

bbcode help


Renlok

Recommended Posts

ya mean yer info is already converted to html, and u need it to go back to bbcode?

that's pretty complicated order, as different bbcodes output different information.

prolly the easiest way is to add html comments before and after each bbcode converstion.

 

example:

[url=http://www.google.com]google[/url]

 

usually wud output

<A HREF="http://www.google.com>google</A>

 

but if u added html comments u can make yer job easier if it looked like

<!--- bbcode: [url=http://www.google.com] --><A HREF="http://google.com"><!--- bbend -->google<!-- bbcode: [/url]></A><!--- bbend -->

 

Yes it may add a lot of clutter, but will make reconstructing the original bbcoded message a whole lot easier

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.