diff --git a/cookbook/templates/url_import.html b/cookbook/templates/url_import.html index 6ea418756..fdb6e8e1c 100644 --- a/cookbook/templates/url_import.html +++ b/cookbook/templates/url_import.html @@ -942,7 +942,7 @@ this.recipe_json.keywords.push(new_keyword) break; case 'servings': - this.recipe_json.servings=v + this.recipe_json.servings=parseInt(v.match(/\b\d+\b/)[0]) break; case 'prepTime': this.recipe_json.prepTime=v