I'm trying to find a template that someone has made or used before when going from an HTML based system to a BBcode system. It would just save a lot of time to know what others have need to be replaced so I don't forget about something and I can see a format that works.
I'm specifically talking about what to put in:
$replacer = array(
"" => "",
"" => "",
"" => "",
"" => "",
"" => ""
);
Like for example "<b>" => "[b]" and so on.
I had another question too. I saw in all the example that is only shows the opening tags. Does the cleaner automatically replace the closer tag too if you put the open tag?
I'm specifically talking about what to put in:
$replacer = array(
"" => "",
"" => "",
"" => "",
"" => "",
"" => ""
);
Like for example "<b>" => "[b]" and so on.
I had another question too. I saw in all the example that is only shows the opening tags. Does the cleaner automatically replace the closer tag too if you put the open tag?
Comment