Skip to content

Instantly share code, notes, and snippets.

@igorw
Created August 9, 2009 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorw/164795 to your computer and use it in GitHub Desktop.
Save igorw/164795 to your computer and use it in GitHub Desktop.
// Parse the message and subject
$message = censor_text($row['post_text']);
// Second parse bbcode here
if ($row['bbcode_bitfield'])
{
$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
}
$message = bbcode_nl2br($message);
$message = smiley_text($message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment