Browse Source

Fix how blanking is handled

Samuel W. Flint 4 years ago
parent
commit
80a62ca8b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      recipe.sty

+ 2 - 2
recipe.sty

@@ -14,8 +14,8 @@
 \newcommand\threequarters{\nicefrac{3}{4}}
 
 \newcommand\recipe@ingredient[2]{#1 & #2 \\}
-\newcommand\recipe@serving[1]{\ifempty{#1}{}{\textit{#1 servings}}}
-\newcommand\recipe@contributor[1]{\ifempty{#1}{}{Courtesy of #1}}
+\newcommand\recipe@serving[1]{\ifblank{#1}{}{\textit{#1 servings}}}
+\newcommand\recipe@contributor[1]{\ifblank{#1}{}{Courtesy of #1}}
 
 \newenvironment{recipe}[3]{%
   \bigskip%