diff options
Diffstat (limited to 'src/sisudoc/meta/metadoc_from_src.d')
-rw-r--r-- | src/sisudoc/meta/metadoc_from_src.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sisudoc/meta/metadoc_from_src.d b/src/sisudoc/meta/metadoc_from_src.d index 4bd747d..c9112ef 100644 --- a/src/sisudoc/meta/metadoc_from_src.d +++ b/src/sisudoc/meta/metadoc_from_src.d @@ -971,7 +971,7 @@ template docAbstraction() { } obj = _links(obj); } - if (the_document_toc_section.length > 1) { // writeln("toc"); // scroll + if (the_document_toc_section.length > 1) { // writeln("toc"); // scroll dom_structure_markedup_tags_status_buffer = dom_structure_markedup_tags_status.dup; dom_structure_collapsed_tags_status_buffer = dom_structure_collapsed_tags_status.dup; foreach (ref obj; the_document_toc_section) { @@ -1044,8 +1044,8 @@ template docAbstraction() { // read_image auto data = (cast(byte[]) (manifested.src.image_dir_path ~ "/" ~ img).read); // calculate, digest, hash - writefln("%s\n%-(%02x%)::%s ⋅ %s", img, data.sha256Of, data.length, img); - writefln("%-(%02x%) ⋅ %s ⋅ %s", data.sha256Of, img, data.length); + writeln(img, "\n", data.sha256Of.toHexString, "::", data.length, " ", img); + writeln(data.sha256Of.toHexString, " ", img, " ", data.length); } catch (Exception ex) { writeln("WARNING, image not found: ", img, "\n ", manifested.src.image_dir_path ~ "/" ~ img); } |