Convert < and > to &lt; and &gt; in the lexText func