Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Commit 9f93895

Browse files
committed
Strip html by default in widgets. Users can disable this with the 'raw' filter. Closes #176
1 parent 2b715ac commit 9f93895

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

templates/project/widgets/comments/comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ <h3><img data-bind-src='current_comment.avatar'/><span data-bind='current_commen
44
<p class="comment" data-bind='quote'></p>
55
</div>
66

7-
<p class="more-info" data-bind="moreinfo | raw"></p>
7+
<p class="more-info" data-bind="moreinfo"></p>

templates/project/widgets/number/number.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ <h2 class="value" data-bind="current | shortenedNumber | prepend prefix | append
66
<i data-bind-class="arrow"></i><span data-bind="difference"></span>
77
</p>
88

9-
<p class="more-info" data-bind="moreinfo | raw"></p>
9+
<p class="more-info" data-bind="moreinfo"></p>
1010

1111
<p class="updated-at" data-bind="updatedAtMessage"></p>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 class="title" data-bind="title"></h1>
22

3-
<h3 data-bind="text | raw"></h3>
3+
<h3 data-bind="text"></h3>
44

5-
<p class="more-info" data-bind="moreinfo | raw"></p>
5+
<p class="more-info" data-bind="moreinfo"></p>
66

77
<p class="updated-at" data-bind="updatedAtMessage"></p>

0 commit comments

Comments
 (0)