Commit 88b4a0ab authored by Feu's avatar Feu

text differential

parent 9fe4dadd
......@@ -427,17 +427,17 @@ class sujetforum extends stdcontents
$row['contenu_message'] = nosecret($row['contenu_message']);
if ( $row['syntaxengine_message'] == "bbcode" )
$this->buffer .= bbcode($row['contenu_message']);
/*{
// $this->buffer .= bbcode($row['contenu_message']);
{
$cts = cachedcontents::autocache("msg".$row['id_message'],new bbcontents("",$row['contenu_message'],false));
$this->buffer .= $cts->html_render();
}*/
}
elseif ( $row['syntaxengine_message'] == "doku" )
$this->buffer .= doku2xhtml($row['contenu_message']);
/*{
// $this->buffer .= doku2xhtml($row['contenu_message']);
{
$cts = cachedcontents::autocache("msg".$row['id_message'],new wikicontents("",$row['contenu_message'],false));
$this->buffer .= $cts->html_render();
} */
}
elseif ( $row['syntaxengine_message'] == "plain" )
$this->buffer .= "<pre>".htmlentities($row['contenu_message'],ENT_NOQUOTES,"UTF-8")."</pre>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment