Branch: Tag:

2018-02-28

2018-02-28 20:58:58 by Pontus Östlund <ponost@roxen.com>

Utilise the new Roxen.render_mustache() method.

126:    "message" : replace(fix_err(err), "\n", "<br />\n")    ]);    -  Mustache stache = Mustache(); -  string out = stache->render(logitem_tmpl, mctx); +  string out = Roxen.render_mustache(logitem_tmpl, mctx);    -  destruct(stache); -  +     return out;       // return "<table class='logitems'><tr><td><img src=&usr.err-"+code+"; \n"