Skip to content

Commit

Permalink
Update libmei to fix "tail" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
th-we committed Jun 15, 2020
1 parent ddef818 commit 5f433dc
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 5f433dc

Please sign in to comment.