AsciiDoc export: Disable webfonts.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
47bcffec64
commit
ff708e9403
|
@ -40,9 +40,9 @@ void Export::AsciiDoc::print() const
|
||||||
<< ":Author: remwharead " << global::version << endl
|
<< ":Author: remwharead " << global::version << endl
|
||||||
<< ":Date: "
|
<< ":Date: "
|
||||||
<< timepoint_to_string(system_clock::now()) << endl
|
<< timepoint_to_string(system_clock::now()) << endl
|
||||||
<< ":TOC: right" << endl
|
<< ":TOC: right\n"
|
||||||
<< ":TOCLevels: 2" << endl
|
<< ":TOCLevels: 2\n"
|
||||||
<< endl;
|
<< ":!webfonts:\n\n";
|
||||||
|
|
||||||
tagmap alltags;
|
tagmap alltags;
|
||||||
string day;
|
string day;
|
||||||
|
|
|
@ -55,7 +55,8 @@ SCENARIO ("The AsciiDoc export works correctly")
|
||||||
":Author: +remwharead \\d+\\.\\d+\\.\\d+\n"
|
":Author: +remwharead \\d+\\.\\d+\\.\\d+\n"
|
||||||
":Date: +\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\n"
|
":Date: +\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\n"
|
||||||
":TOC: +right\n"
|
":TOC: +right\n"
|
||||||
":TOCLevels: +2\n\n");
|
":TOCLevels: +2\n"
|
||||||
|
":!webfonts:\n\n");
|
||||||
const regex re_dates
|
const regex re_dates
|
||||||
("== 1970-01-01\n\n"
|
("== 1970-01-01\n\n"
|
||||||
"\\[\\[dt_1970-01-01T\\d{2}:\\d{2}:\\d{2}\\]\\]\n"
|
"\\[\\[dt_1970-01-01T\\d{2}:\\d{2}:\\d{2}\\]\\]\n"
|
||||||
|
|
Loading…
Reference in New Issue