You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/03/07 16:44:14 UTC

[3/3] git commit: [#4227] [#4511] quote label links in ForgeBlog too

[#4227] [#4511] quote label links in ForgeBlog too


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e1fc8755
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e1fc8755
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e1fc8755

Branch: refs/heads/master
Commit: e1fc8755c22b7222b8327840a68baac53f3e1707
Parents: 9a0a6a1
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Fri Mar 7 15:43:56 2014 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Mar 7 15:43:56 2014 +0000

----------------------------------------------------------------------
 ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html | 2 +-
 ForgeBlog/forgeblog/templates/blog_widgets/view_post.html    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e1fc8755/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html b/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
index c70b8be..81e1d85 100644
--- a/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
+++ b/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
@@ -35,7 +35,7 @@
   <em class="grid-19">
     <strong>Labels:</strong>
     {% for l in value.labels %}
-      <span><a href="{{c.app.url}}search?q=labels_t:{{l}}&parser=standard">{{l}}</a> </span>
+      <span><a href="{{c.app.url}}search?q=labels_t:%22{{l}}%22&parser=standard">{{l}}</a> </span>
     {% endfor %}
   </em>
   {% endif %}

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e1fc8755/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html b/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
index bcc49c4..66b92c5 100644
--- a/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
+++ b/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
@@ -33,7 +33,7 @@
 <em class="grid-19">
   <strong>Labels:</strong>
   {% for l in value.labels %}
-    <span><a href="{{c.app.url}}search?q=labels_t:{{l}}&parser=standard">{{l}}</a> </span>
+    <span><a href="{{c.app.url}}search?q=labels_t:%22{{l}}%22&parser=standard">{{l}}</a> </span>
   {% endfor %}
 </em>
 {% endif %}