I recently noticed the html class in trac.util.html (1). The html class has 
been there since the initial merge of Genshi (2).

It looks like this could be used in place of  genshi.core.tag. That would 
provide a bit of insulation from the Genshi library, potentially making it 
a bit easier to port to a new templating library.

I'm not going to make a big change to the codebase in the near future, but 
going forward, is it be better to use html() rather than tag() in Trac and 
plugins?

(1) 
http://trac.edgewall.org/browser/tags/trac-1.0.9/trac/util/html.py?marks=291#L279
(2) http://trac.edgewall.org/browser/trunk/trac/util/html.py?rev=3832

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-dev+unsubscr...@googlegroups.com.
To post to this group, send email to trac-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to