(cherry picked from commit 386d9953e8)
This commit is contained in:
Juergen Spitzmueller 2018-03-11 19:49:28 +01:00
parent 64981aa48c
commit bbaf2b6a29

View File

@ -1585,12 +1585,13 @@ void Preamble::parse(Parser & p, string const & forceclass,
continue; continue;
} }
else if (t.cs() == "date") { if (t.cs() == "date") {
string argument = p.getArg('{', '}'); string argument = p.getArg('{', '}');
if (argument.empty()) if (argument.empty())
h_suppress_date = "true"; h_suppress_date = "true";
else else
h_preamble << t.asInput() << '{' << argument << '}'; h_preamble << t.asInput() << '{' << argument << '}';
continue;
} }
if (t.cs() == "color") { if (t.cs() == "color") {