Преглед на файлове

Fix how blanking is handled

Samuel W. Flint преди 5 години
родител
ревизия
611cdfbf96
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      texmf/recipe.sty

+ 2 - 2
texmf/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%