Browse Source

add escape html for description

Filip Marek 1 year ago
parent
commit
1a8e1a2677
1 changed files with 4 additions and 1 deletions
  1. 4 1
      data/web/js/site/user.js

+ 4 - 1
data/web/js/site/user.js

@@ -205,7 +205,10 @@ jQuery(function($){
         {
         {
           title: lang.description,
           title: lang.description,
           data: 'description',
           data: 'description',
-          defaultContent: ''
+          defaultContent: '',
+          render: function (data, type) {
+            return escapeHtml(data);
+          }
         },
         },
         {
         {
           title: lang.alias_valid_until,
           title: lang.alias_valid_until,