summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorpushmatrix <daniel.beauchamp@gmail.com>2013-08-20 15:35:10 +0200
committerpushmatrix <daniel.beauchamp@gmail.com>2013-08-20 15:35:20 +0200
commit9f93895bd40aad02e88f7ed7bfd954c930aa27db (patch)
tree3f1caefef9628571f40d264028fd63ea2eb57293 /templates
parent2b715ac63dd2de5c718142822663dbded44bbecd (diff)
Strip html by default in widgets. Users can disable this with the 'raw' filter. Closes #176
Diffstat (limited to 'templates')
-rw-r--r--templates/project/widgets/comments/comments.html2
-rw-r--r--templates/project/widgets/number/number.html2
-rw-r--r--templates/project/widgets/text/text.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/project/widgets/comments/comments.html b/templates/project/widgets/comments/comments.html
index 898d2f6..7c580be 100644
--- a/templates/project/widgets/comments/comments.html
+++ b/templates/project/widgets/comments/comments.html
@@ -4,4 +4,4 @@
<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>
diff --git a/templates/project/widgets/number/number.html b/templates/project/widgets/number/number.html
index 795a469..c82e5f4 100644
--- a/templates/project/widgets/number/number.html
+++ b/templates/project/widgets/number/number.html
@@ -6,6 +6,6 @@
<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>
diff --git a/templates/project/widgets/text/text.html b/templates/project/widgets/text/text.html
index 7aeb66d..decd109 100644
--- a/templates/project/widgets/text/text.html
+++ b/templates/project/widgets/text/text.html
@@ -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>