merged mode: remove extra whitespace between terms
This commit is contained in:
parent
69ad4a7c9b
commit
03fd9dcdb4
@ -296,7 +296,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
|
||||
stack1 = ((helper = (helper = helpers.kanjiLinks || (depth0 != null ? depth0.kanjiLinks : depth0)) != null ? helper : alias2),(options={"name":"kanjiLinks","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data}),(typeof helper === alias3 ? helper.call(alias1,options) : helper));
|
||||
if (!helpers.kanjiLinks) { stack1 = helpers.blockHelperMissing.call(depth0,stack1,options)}
|
||||
if (stack1 != null) { buffer += stack1; }
|
||||
return buffer + "</span>\n "
|
||||
return buffer + "</span>"
|
||||
+ ((stack1 = helpers.unless.call(alias1,(data && data.last),{"name":"unless","hash":{},"fn":container.program(26, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
||||
+ "\n </div>\n";
|
||||
},"23":function(container,depth0,helpers,partials,data) {
|
||||
|
@ -43,8 +43,7 @@
|
||||
{{#if merged}}
|
||||
{{#each expressions}}
|
||||
<div class="expression">
|
||||
<span class="expression-{{jmdictTermFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span>
|
||||
{{#unless @last}}、{{/unless}}
|
||||
<span class="expression-{{jmdictTermFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span>{{#unless @last}}、{{/unless}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
|
Loading…
Reference in New Issue
Block a user