function displayThought( $thought = NULL ) {
if ( isset( $this->thoughtId ) ) {
// Create and display the HTML
template.
$template = new mmHtmlTemplate;
$htmlObj = parseHtml(
$thought->getDetail() );
if( $thought->displayRaw ) {
// Display headers and unfiltered HTML
$detail = $htmlObj->body;
} else { // Display
normal (filtered) HTML and no headers
//$detail =
postfilterHtml( $htmlObj->body, TRUE, 'AUTO' );
$detail =
postfilterHtml( $thought->getDetail(), TRUE, 'AUTO' );
}