<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 3, 2008, at 2:16 PM, Marvin Humphrey wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br class="webkit-block-placeholder"></font></div><div><br>How about this instead?<br><br> * Eliminate Encoder, Formatter, SimpleHTMLEncoder, and<br> SimpleHTMLFormatter.<br> * Add public encode() and highlight() methods to Highlighter.<br><br> sub encode { return encode_entities( $_[1] ) }<br> sub highlight { return '<strong>' . $_[1] . '</strong>' }</div></blockquote><div><br class="webkit-block-placeholder"></div><div>Actually, I think that¢s worse than the current system. If I wanted simply to override the default HTML tags, I¢d be much more comfortable with create an object than a class.</div></div><br></body></html>