Ignore javascript section in template
Matt Mackall
mpm at selenic.com
Wed Apr 24 13:55:49 CDT 2013
On Wed, 2013-04-24 at 09:00 +0400, Nasyrov Denis wrote:
> Hi.
> I try to develop new extension for statistics in hgweb. I modified hgweb webcommands.py and added new template with new tab where I tried to draw chart with some stat.
> I pasted javascript section in template, but I have a problem with
> processing template. Is it possible to ignore javascript section in
> template?
You probably need to escape '{' and '}'. See
mercurial/templates/paper/graph.html for an example.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list