Commit dd4d1651 authored by Floréal Cabanettes's avatar Floréal Cabanettes

Fix rich snippets

parent 547c905d
......@@ -1375,7 +1375,7 @@ QString Functions::makeRichSnippets(QString title, QString mainPicture, int hPre
}
snippet += "\",\n";
snippet += " \"ingredients\": \n [ \"" + ingrs.join("\",\n \"") + "\"\n ],\n";
snippet += " \"recipeInstructions\": \"" + preps.join("\\n") + "\"\n }\n</script>\n\n";
snippet += " \"recipeInstructions\": \"" + Functions::insertMovies(Functions::insertPictures(preps.join("\\n"))) + "\"\n }\n</script>\n\n";
return snippet;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment