diff options
Diffstat (limited to 'org/meta_conf_make_meta.org')
-rw-r--r-- | org/meta_conf_make_meta.org | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org index ca8d6f7..9c62322 100644 --- a/org/meta_conf_make_meta.org +++ b/org/meta_conf_make_meta.org @@ -347,12 +347,7 @@ struct ConfCompositeMakeStr { return _out; } string[] footer(string[] _mk) { - string line_; - string[] _mk2; - foreach (line; _mk) { - _mk2 ~= url_markup(line); - } - return _mk2; + return _mk; } string[] headings(string[] _mk) { return _mk; @@ -1229,7 +1224,17 @@ if ("make" in _yaml char[][] __match_footer_array = (cast(char[]) _yaml["make"]["footer"].get!string) .split(rgx.make_heading_delimiter); - _struct_composite.make_str.footer = __match_footer_array.to!(string[]); + foreach(string hbt; __match_footer_array.to!(string[])) { + _struct_composite.make_str.footer ~= url_markup(hbt); + } + } else if ("footer" in _yaml["make"] + && _yaml["make"]["footer"].type.string + && _yaml["make"]["footer"].tag.match(rgx_y.yaml_tag_is_seq) + ) { + _struct_composite.make_str.footer = []; + foreach(string hbt; _yaml["make"]["footer"]) { + _struct_composite.make_str.footer ~= url_markup(hbt); + } } if ("headings" in _yaml["make"] && _yaml["make"]["headings"].type.string |