AsciiDoc export: Disable webfonts.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-07-12 01:49:32 +02:00
parent 47bcffec64
commit ff708e9403
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 5 additions and 4 deletions

View File

@ -40,9 +40,9 @@ void Export::AsciiDoc::print() const
<< ":Author: remwharead " << global::version << endl
<< ":Date: "
<< timepoint_to_string(system_clock::now()) << endl
<< ":TOC: right" << endl
<< ":TOCLevels: 2" << endl
<< endl;
<< ":TOC: right\n"
<< ":TOCLevels: 2\n"
<< ":!webfonts:\n\n";
tagmap alltags;
string day;

View File

@ -55,7 +55,8 @@ SCENARIO ("The AsciiDoc export works correctly")
":Author: +remwharead \\d+\\.\\d+\\.\\d+\n"
":Date: +\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\n"
":TOC: +right\n"
":TOCLevels: +2\n\n");
":TOCLevels: +2\n"
":!webfonts:\n\n");
const regex re_dates
("== 1970-01-01\n\n"
"\\[\\[dt_1970-01-01T\\d{2}:\\d{2}:\\d{2}\\]\\]\n"