diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-10-27 17:31:37 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:13 -0400 |
commit | 573ee7f71db12700bd587b62bb74e193bfb98a3e (patch) | |
tree | 76bd8e8e688821fee33018a169b86c055a30b7b1 /src | |
parent | 0.7.3 provide associated segment name for endnotes section and book index (diff) |
sync, fix level :A split infodoc-reform_v0.0.7
Diffstat (limited to 'src')
-rw-r--r-- | src/sdp/ao_abstract_doc_source.d | 2 | ||||
-rw-r--r-- | src/sdp/ao_read_source_files.d | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/sdp/ao_abstract_doc_source.d b/src/sdp/ao_abstract_doc_source.d index 143040f..074fbc5 100644 --- a/src/sdp/ao_abstract_doc_source.d +++ b/src/sdp/ao_abstract_doc_source.d @@ -345,7 +345,7 @@ template SiSUdocAbstraction() { obj_im.obj_inline_markup_and_anchor_tags(an_object, dochead_make_aa); // tuple this with anchor tags? an_object["substantive"] = substantive_object_and_anchor_tags_tuple[0]; anchor_tags = substantive_object_and_anchor_tags_tuple[1]; - if (to!int(an_object["lev_markup_number"]) == 4) { + if (to!int(an_object["lev_markup_number"]) == 4) { segment_object_belongs_to = anchor_tags[0]; } else if (to!int(an_object["lev_markup_number"]) < 4) { segment_object_belongs_to = ""; diff --git a/src/sdp/ao_read_source_files.d b/src/sdp/ao_read_source_files.d index 66ea561..3ceedd0 100644 --- a/src/sdp/ao_read_source_files.d +++ b/src/sdp/ao_read_source_files.d @@ -108,9 +108,7 @@ template SiSUmarkupRaw() { auto markupSourceHeaderContentRawLineTupleArray(in string source_txt_str) { auto hc = header0Content1(source_txt_str); auto header = hc[0]; - char[] la; - la ~= "A~ "; - char[] source_txt = la ~ hc[1]; + char[] source_txt = hc[1]; auto source_line_arr = markupSourceLineArray(source_txt); auto t = tuple( header, |