This commit is contained in:
Juergen Spitzmueller 2018-03-11 19:49:28 +01:00
parent 8184f08f4a
commit 386d9953e8

View File

@ -1600,12 +1600,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") {