-
Committer:
Jacques Distler
-
Date:
2007年10月15日 02:07:46 UTC
-
Revision ID:
distler@golem.ph.utexas.edu-20071015020746-b8zzdl4rei08rlls
Performance
OK. This is a better way: define a custom TreeWalker which converts named entities to utf-8 as it goes. This avoids having to do an extra tree traversal in sanitize_rexml, AND avoids the trainwreck that is html5/inputstream.rb.