mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 06:07:30 +08:00
FIX: Malformed HTML in templates
This commit is contained in:
parent
fc65bc28be
commit
c820747ea3
|
@ -82,22 +82,26 @@
|
||||||
</td>
|
</td>
|
||||||
<td class='stats' {{bind-attr title="topicStatsTitle"}}>
|
<td class='stats' {{bind-attr title="topicStatsTitle"}}>
|
||||||
<table class="categoryStats">
|
<table class="categoryStats">
|
||||||
|
<tbody>
|
||||||
{{#each topicCountStats}}
|
{{#each topicCountStats}}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="value">{{value}}</td>
|
<td class="value">{{value}}</td>
|
||||||
<td class="unit">{{unit}}</td>
|
<td class="unit">{{unit}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td class='stats' {{bind-attr title="postStatsTitle"}}>
|
<td class='stats' {{bind-attr title="postStatsTitle"}}>
|
||||||
<table class="categoryStats">
|
<table class="categoryStats">
|
||||||
|
<tbody>
|
||||||
{{#each postCountStats}}
|
{{#each postCountStats}}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="value">{{value}}</td>
|
<td class="value">{{value}}</td>
|
||||||
<td class="unit">{{unit}}</td>
|
<td class="unit">{{unit}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -55,7 +55,10 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{each topics itemController="topicListItem" itemViewClass="Discourse.TopicListItemView"}}
|
<tbody>
|
||||||
|
{{each topics itemController="topicListItem" itemViewClass="Discourse.TopicListItemView"}}
|
||||||
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user