Self hosted FLOSS fitness/workout, nutrition and weight tracker
Also allow 'b' and 'i' tags in the exercise description
Roland Geiderf3951049d2d1
diff --git a/wger/utils/constants.py b/wger/utils/constants.pyindex 7b8d6c797..7c60b4f5b 100644--- a/wger/utils/constants.py+++ b/wger/utils/constants.py@@ -41,7 +41,7 @@ DATE_FORMATS = [# Allowed tags, attributes and styles allowed in textareas edited with a JS# editor. Everything not in these whitelists is stripped.-HTML_TAG_WHITELIST = ('strong', 'em', 'ul', 'ol', 'li', 'p')+HTML_TAG_WHITELIST = ('b', 'i', 'strong', 'em', 'ul', 'ol', 'li', 'p')HTML_ATTRIBUTES_WHITELIST = {'*': 'style'}