django-oscar
django-oscar copied to clipboard
Notification body is rendered as plain text, but passed HTML in some cases
Issue Summary
The body for customer notifications are rendered as plain text in the detail view.
But we create notifications with HTML in the body - e.g., for stock alerts.
The resulting notifications are rendered with escaped HTML such as <a href="/catalogue/test-product_6/">test product</a> is back in stock
.
We need to either allow HTML in the body, or ensure we don't provide it. We already allow HTML in the subject so it seems silly not to allow it in the body.
I can confirm this bug is still present in 3.0. Also, some strings are not translated (or translatable) in the same template.
