From 2bcba88a97621ebf3524d43d2316eac4754e10db Mon Sep 17 00:00:00 2001 From: Vladimir Babin Date: Fri, 18 Sep 2026 05:03:54 +0000 Subject: [PATCH] fix: reject whitespace-only recipe comments (#8295) --- .../RecipePageParts/RecipePageComments.vue | 8 ++++++-- frontend/app/lib/api/types/household.ts | 2 +- frontend/app/lib/api/types/recipe.ts | 2 +- mealie/schema/recipe/recipe_comments.py | 16 ++++++++++++++-- .../user_recipe_tests/test_recipe_comments.py | 16 ++++++++++++++++ 5 files changed, 38 insertions(+), 6 deletions(-) diff --git a/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageComments.vue b/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageComments.vue index e2a9afabf..3ef27a973 100644 --- a/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageComments.vue +++ b/frontend/app/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageComments.vue @@ -35,7 +35,7 @@