Revert "Excape HTML (where needed, for bootbox) (references #996)"

This reverts commit 0df2590de2.

Revert "Excape shopping list item notes (references #996)"

This reverts commit 0624b0df59.
This commit is contained in:
Bernd Bestel
2020-10-14 22:58:26 +02:00
parent c11001467b
commit 08644f95bf
20 changed files with 28 additions and 32 deletions

View File

@@ -563,7 +563,7 @@ $(document).on('click', '.recipe-order-missing-button', function(e)
// to prevent that the tooltip stays until clicked anywhere else
document.activeElement.blur();
var objectName = SanitizeHtml($(e.currentTarget).attr('data-recipe-name'));
var objectName = $(e.currentTarget).attr('data-recipe-name');
var objectId = $(e.currentTarget).attr('data-recipe-id');
var button = $(this);
var servings = $(e.currentTarget).attr('data-mealplan-servings');
@@ -667,7 +667,7 @@ $(document).on('click', '.recipe-consume-button', function(e)
// to prevent that the tooltip stays until clicked anywhere else
document.activeElement.blur();
var objectName = SanitizeHtml($(e.currentTarget).attr('data-recipe-name'));
var objectName = $(e.currentTarget).attr('data-recipe-name');
var objectId = $(e.currentTarget).attr('data-recipe-id');
var servings = $(e.currentTarget).attr('data-mealplan-servings');