diff options
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r-- | org/out_xmls.org | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index 12cd0dc..1158ff7 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -203,10 +203,9 @@ import #+NAME: xhtml_format_objects_4 #+BEGIN_SRC d @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>"; } @@ -919,7 +918,9 @@ import </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, |