fix: removed HTML tags when copying recipe ingredients (#2533)

This commit is contained in:
Michael Genson
2023-08-31 12:08:44 -05:00
committed by GitHub
parent 408ca88cb2
commit 0a00a6ea0d
3 changed files with 17 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ export default defineComponent({
const ingredientCopyText = computed(() => {
return props.value
.map((ingredient) => {
return `${parseIngredientText(ingredient, props.disableAmount, props.scale)}`;
return `${parseIngredientText(ingredient, props.disableAmount, props.scale, false)}`;
})
.join("\n");
});