On Wednesday, January 6, 2016 at 3:58:33 PM UTC-8, RjOllos wrote:
>
> 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
>

I see the question has been addressed, and we will probably eventually 
start using html from trac.util.html for to make code more portable:
https://trac.edgewall.org/wiki/TracDev/PortingFromGenshiToJinja#tag 

-- 
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