瀏覽代碼

Merge pull request #3839 from sasha0/fix/notification_body

Do not escape HTML in the notification body on the customer notification detail page.
master
Voxin Muyli 3 年之前
父節點
當前提交
6e8c525a30
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/oscar/templates/oscar/communication/notifications/detail.html

+ 1
- 1
src/oscar/templates/oscar/communication/notifications/detail.html 查看文件

26
             </tr>
26
             </tr>
27
             <tr>
27
             <tr>
28
                 <th>{% trans 'Body' %}</th>
28
                 <th>{% trans 'Body' %}</th>
29
-                <td>{{ notification.body }}</td>
29
+                <td>{{ notification.body|safe }}</td>
30
             </tr>
30
             </tr>
31
         {% else %}
31
         {% else %}
32
             <tr>
32
             <tr>

Loading…
取消
儲存