<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> &nbsp;* Eliminate Encoder, Formatter, SimpleHTMLEncoder, and<br> &nbsp;&nbsp;&nbsp;SimpleHTMLFormatter.<br> &nbsp;* Add public encode() and highlight() methods to Highlighter.<br><br> &nbsp;sub encode &nbsp;&nbsp;&nbsp;{ return encode_entities( $_[1] ) }<br> &nbsp;sub highlight { return '&lt;strong&gt;' . $_[1] . '&lt;/strong&gt;' }</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>