Skip to content

Commit

Permalink
fixed script type for handlebar templates
Browse files Browse the repository at this point in the history
replaced b tag with strong, replace & with &
  • Loading branch information
Treggats committed Apr 18, 2013
1 parent 030989b commit 6d3b978
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions solrstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@


<!--Handlebars layout templates-->
<script type='text/javascript' id="hit-template">
<script type="text/x-handlebars-template" id="hit-template">
<div class="entry">
<b>{{title}}</b><br>
<strong>{{title}}</strong><br>
{{text}}
</div>
</script>
<script type='text/javascript' id="result-summary-template">
<script type="text/x-handlebars-template" id="result-summary-template">
<div id="result-summary">
{{totalresults}} results for <b><i>{{query}}</i></b>
{{totalresults}} results for <strong><i>{{query}}</i></strong>
</div>
</script>
<script type='text/javascript' id="nav-template">
<script type="text/x-handlebars-template" id="nav-template">
<div class="facet">
<span class="nav-title">{{title}}</span><br>
{{#each navs}}
<a href='{{../linkroot}}&fq={{../title}}:{{@key}}'>{{@key}}</a> ({{this}})<br/>
{{/each}}
</div>
</script>
<script type='text/javascript' id="chosen-nav-template">
<script type="text/x-handlebars-template" id="chosen-nav-template">
<div class="facet">
<span class="nav-title">Filters</span><br>
{{#each navs}}
<a class="close" href="{{this}}">&times;</a><a href='{{this}}' id="{{@key}}" class="selectedNav">{{@key}}</a><br>
<a class="close" href="{{this}}">&amp;times;</a><a href='{{this}}' id="{{@key}}" class="selectedNav">{{@key}}</a><br>
{{/each}}
</div>
</script>
Expand Down

0 comments on commit 6d3b978

Please sign in to comment.