$LoggedUser['EffectiveClass']) { json_die("failure", "higher user class required to view article"); } Text::$TOC = true; $TextBody = Text::full_format($Body, false); json_die("success", array( 'title' => $Title, 'bbBody' => $Body, 'body' => $TextBody, 'aliases' => $Aliases, 'authorID' => (int)$AuthorID, 'authorName' => $AuthorName, 'date' => $Date, 'revision' => (int)$Revision ));