MDL-60492 core_tag: Fix title attribute

Attribute 'title' was specified inside a condition but closing `"` was
outside condition possibly resulting in <a href="..." class="..." ">.
Also moved </a> outside of condition to match <a>.
This commit is contained in:
Leon Stringer 2020-08-05 12:52:09 +01:00
parent 07238ca511
commit fb4c20ee2c

View File

@ -47,13 +47,14 @@
{{#tags}}
<li>
<a href="{{viewurl}}" class="{{#isstandard}}standardtag{{/isstandard}} s{{size}}"
{{#count}}title="{{#str}}numberofentries, blog, {{count}}{{/str}}{{/count}}">
{{#count}}title="{{#str}}numberofentries, blog, {{count}}{{/str}}"{{/count}}>
{{#flag}}
<span class="flagged-tag">{{name}}</span></a>
<span class="flagged-tag">{{name}}</span>
{{/flag}}
{{^flag}}
{{name}}</a>
{{name}}
{{/flag}}
</a>
</li>
{{/tags}}
</ul>