Skip to content

Commit

Permalink
Merge pull request #154 from notengrafik/pr/libmei-tail
Browse files Browse the repository at this point in the history
Update libmei to fix "tail" bug
  • Loading branch information
ahankinson authored Jun 16, 2020
2 parents 9fbda8a + 5f433dc commit f9e2474
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/libmei4.plg
Original file line number Diff line number Diff line change
Expand Up @@ -2037,11 +2037,6 @@ GetTail "(element) {
indent = indent - 1;
}

if (Length(tl) > 0)
{
xmlout = xmlout & tabs & tl & Chr(10);
}

// convertDictToXml takes care of adding the />
// for tags that do not have children. We'll
// take care of the terminal tag here for those
Expand All @@ -2059,6 +2054,11 @@ GetTail "(element) {
}
}

if (Length(tl) > 0)
{
xmlout = xmlout & tabs & tl & Chr(10);
}

return xmlout;
}"

Expand Down

0 comments on commit f9e2474

Please sign in to comment.