You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/07/16 23:45:02 UTC

git commit: [#6469] Escape textarea contents

Updated Branches:
  refs/heads/tv/6469 [created] ee573c989


[#6469] Escape textarea contents

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


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

Branch: refs/heads/tv/6469
Commit: ee573c989317cd8fa1b8372229e41051fc084822
Parents: 8067670
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Tue Jul 16 21:44:33 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Tue Jul 16 21:44:33 2013 +0000

----------------------------------------------------------------------
 Allura/allura/templates/jinja_master/lib.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ee573c98/Allura/allura/templates/jinja_master/lib.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/jinja_master/lib.html b/Allura/allura/templates/jinja_master/lib.html
index a3e8d6b..9c9fe3e 100644
--- a/Allura/allura/templates/jinja_master/lib.html
+++ b/Allura/allura/templates/jinja_master/lib.html
@@ -76,7 +76,7 @@
   {% if label %}
   <label for="{{name}}">{{label}}</label><br/>
   {% endif %}
-  <textarea id="{{name}}" name="{{name}}">{{value}}</textarea><br/>
+  <textarea id="{{name}}" name="{{name}}">{{value|e}}</textarea><br/>
 {% endmacro %}
 
 {% macro text_field(name, label, value='') %}