Skip to content

Commit

Permalink
don't set a color if model is really unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrike Fischer committed Jun 11, 2022
1 parent e8e3260 commit 5aec5aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion firstaid/xcolor-patches-tmp-ltx.sty
Expand Up @@ -35,7 +35,10 @@
{
%this is for multi models, it will break if there is model
%l3 doesn't know, but the case is rare, so accept it for now.
\color_set:nnn{#1}{#2}{#3}
\str_if_in:nnT {#2}{/}
{
\color_set:nnn{#1}{#2}{#3}
}
}
}
}
Expand Down

0 comments on commit 5aec5aa

Please sign in to comment.