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

Commit

Permalink
Strip html by default in widgets. Users can disable this with the 'ra…
Browse files Browse the repository at this point in the history
…w' filter. Closes #176
  • Loading branch information
pushmatrix committed Aug 20, 2013
1 parent 2b715ac commit 9f93895
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/project/widgets/comments/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ <h3><img data-bind-src='current_comment.avatar'/><span data-bind='current_commen
<p class="comment" data-bind='quote'></p>
</div>

<p class="more-info" data-bind="moreinfo | raw"></p>
<p class="more-info" data-bind="moreinfo"></p>
2 changes: 1 addition & 1 deletion templates/project/widgets/number/number.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ <h2 class="value" data-bind="current | shortenedNumber | prepend prefix | append
<i data-bind-class="arrow"></i><span data-bind="difference"></span>
</p>

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

<p class="updated-at" data-bind="updatedAtMessage"></p>
4 changes: 2 additions & 2 deletions templates/project/widgets/text/text.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 class="title" data-bind="title"></h1>

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

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

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

0 comments on commit 9f93895

Please sign in to comment.