3 * Just HTML-encodes everything
5 * @author Ant P. <xmpp:ant@specialops.ath.cx>
7 * @license http://specialops.ath.cx/repos/so2/trunk/COPYING
9 require_once 'lib/iface.Message3.php';
11 class Message_Plaintext
implements Message3
15 function __construct($input, $formatting = null)
17 $this->output
= nl2br(htmlspecialchars($input));