Skip to content

Commit

Permalink
MDL-60492 core_tag: Fix title attribute
Browse files Browse the repository at this point in the history
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>.
  • Loading branch information
leonstr committed Aug 5, 2020
1 parent 07238ca commit fb4c20e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tag/templates/tagcloud.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fb4c20e

Please sign in to comment.