I’m looking into John Resig’s microtemplating framework and it is wonderful, small and fits my requirements. The only problem is that the syntax confuses the ASP.NET framework. This is due to the fact that anything put inside the
<%=id%>
<%=(i % 2 == 1 ? " even" : "")%>
expression syntax is evaluated using Server variables. Has anyone hacked/changed the code to work with ASP.NET?
Just change
<%and%>in the parsing function to<#and#>, respectively. I’ve seen it done, and it works great.…etc.