aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/xmls.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-08-21 12:18:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-08-22 11:59:51 -0400
commit8525eb4bf305824d55558705175d4cc9ed5d37c2 (patch)
tree67ca0daa82a58ef5cbda9b9a1f2ce14f745af8b5 /src/doc_reform/io_out/xmls.d
parentconfig, clean up and make a bit more consistent (diff)
metaverse parallel processing reproducability
- html xhtml issue with tags - epub issue with title (skipped) in OEBPS/toc.ncx
Diffstat (limited to 'src/doc_reform/io_out/xmls.d')
-rw-r--r--src/doc_reform/io_out/xmls.d9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d
index e6012fe..703df3d 100644
--- a/src/doc_reform/io_out/xmls.d
+++ b/src/doc_reform/io_out/xmls.d
@@ -127,10 +127,9 @@ template outputXHTMLs() {
return _txt;
}
@safe string _xhtml_anchor_tags(O)(O obj) {
- const(string[]) anchor_tags = obj.tags.anchor_tags;
string tags="";
- if (anchor_tags.length > 0) {
- foreach (tag; anchor_tags) {
+ if (obj.tags.anchor_tags.length > 0) {
+ foreach (tag; obj.tags.anchor_tags) {
if (!(tag.empty)) {
tags ~= "<a name=\"" ~ tag ~ "\"></a>";
}
@@ -746,7 +745,9 @@ template outputXHTMLs() {
</div>┃",
_horizontal_rule,
obj.metainfo.identifier,
- (doc_matters.opt.action.ocn_off) ? "" : ((obj.metainfo.object_number.empty) ? "" : obj.metainfo.identifier),
+ (doc_matters.opt.action.ocn_off)
+ ? "" : ((obj.metainfo.object_number.empty)
+ ? "" : obj.metainfo.identifier),
obj.metainfo.heading_lev_markup,
obj.metainfo.is_a,
obj.metainfo.identifier,