bugfix in section render when context is array
This commit is contained in:
parent
99677a30c4
commit
4c43b33291
3 changed files with 10 additions and 8 deletions
|
@ -32,7 +32,8 @@ std::string visitor::render_section::operator()(const std::string& str) const {
|
|||
std::string visitor::render_section::operator()(const array& arr) const {
|
||||
std::ostringstream out;
|
||||
for (auto& item: arr)
|
||||
out << boost::apply_visitor(*this, item);
|
||||
out << render_context(mstch::object{{".", item}}, context)
|
||||
.render(section);
|
||||
return out.str();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue