Przeglądaj źródła

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 lat temu
rodzic
commit
6e8c525a30
No account linked to committer's email address

+ 1
- 1
src/oscar/templates/oscar/communication/notifications/detail.html Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz