diff --git a/src/adoc.cpp b/src/adoc.cpp index dce9b6c..dc79fbb 100644 --- a/src/adoc.cpp +++ b/src/adoc.cpp @@ -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; diff --git a/tests/test_adoc.cpp b/tests/test_adoc.cpp index 6d213a8..586f0cc 100644 --- a/tests/test_adoc.cpp +++ b/tests/test_adoc.cpp @@ -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"