Skip to content

Commit c7640c4

Browse files
authored
Merge pull request #58 from christianp/issue-56
don't double escape discussion subjects
2 parents eaf990b + 90f90f4 commit c7640c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/discussion_list.mustache

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
{{/canviewdiscussions}}
184184

185185
<td class="topic starter">
186-
<a href="{{ subjectlink }}">{{ subjecttext }}</a>
186+
<a href="{{ subjectlink }}">{{{ subjecttext }}}</a>
187187
</td>
188188

189189
<td class="picture">

templates/question.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
{{#isfirstpost}}
5454
{{! The subject. }}
5555
<div class="subject" role="heading" aria-level="2">
56-
{{ subject }}
56+
{{{ subject }}}
5757
</div>
5858
{{/isfirstpost}}
5959

@@ -142,4 +142,4 @@
142142
143143
</div>
144144
</div>
145-
</div>
145+
</div>

0 commit comments

Comments
 (0)