diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-27 22:36:06 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-27 22:36:06 -0800 |
commit | 25d03b0584aa932115c0548b2a71270c2bc3731d (patch) | |
tree | ddaa51192b85c7a9469aab8e79ad2af1c9f6d484 | |
parent | b58468cb105e12a7c23373cbea3a94c9df5b2e85 (diff) |
fixing templates
-rw-r--r-- | ext/bg/js/templates.js | 4 | ||||
-rw-r--r-- | tmpl/fields.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index a5003eda..01896aa6 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -55,11 +55,11 @@ templates['fields.html'] = template({"1":function(container,depth0,helpers,parti + "</ul>"; },"8":function(container,depth0,helpers,partials,data) { var stack1, helper, options, buffer = - "<li>>"; + "<li>"; stack1 = ((helper = (helper = helpers.multiLine || (depth0 != null ? depth0.multiLine : depth0)) != null ? helper : helpers.helperMissing),(options={"name":"multiLine","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data}),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},options) : helper)); if (!helpers.multiLine) { stack1 = helpers.blockHelperMissing.call(depth0,stack1,options)} if (stack1 != null) { buffer += stack1; } - return buffer + "></li>"; + return buffer + "</li>"; },"9":function(container,depth0,helpers,partials,data) { return container.escapeExpression(container.lambda(depth0, depth0)); },"11":function(container,depth0,helpers,partials,data) { diff --git a/tmpl/fields.html b/tmpl/fields.html index 0e96828e..ba03349c 100644 --- a/tmpl/fields.html +++ b/tmpl/fields.html @@ -2,7 +2,7 @@ {{~#if html~}} {{~#if tags~}}<i>({{#each tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}})</i> {{/if~}} {{~#if glossary.[1]~}} - <ul>{{#each glossary}}<li>>{{#multiLine}}{{.}}{{/multiLine}}></li>{{/each}}</ul> + <ul>{{#each glossary}}<li>{{#multiLine}}{{.}}{{/multiLine}}</li>{{/each}}</ul> {{~else~}} {{~#multiLine}}{{glossary.[0]}}{{/multiLine~}} {{~/if~}} |