Volta text bug [Musescore 2.0.2/Windows]
Hello,
I changed the text of a volta from "2." to "2. & 3.". The saved file couldn't be opened later on because of an "XML-Error".
I then opened the musescore file in my XML editor and the problem was indeed that text.
<Volta id="3">
<beginText>
<text>2. & 3.</text>
</beginText>
<endings>2</endings>
</Volta>
</code>
I changed the text manually back to just "2." and that repaired the file and it could be opened by MuseScore again. So special Chars like the ampersand should be escaped in volta texts (and maybe other texts too, I don't tested if it works with other texts)
Comments
probably should be written as "&". A related bug has been fixed for the next release
Can you file this in the issue tracker as a critical bug?
In reply to Can you file this in the by Isaac Weiss
test with a recent nightly build before, please. As I wrote, a related bug had been fixed for the upcoming next release
In reply to test with a recent nightly by Jojo-Schmitz
It's still broken in current build. If you set the text for line to "1 & 2" in Line Properties, all that displays is "1", and when you save and try to reload, it fails. We probably need to convert the "&" to "&" when processing the text in the Line Properties dialog.
In reply to It's still broken in current by Marc Sabatella
see #93911: & in Volta text corrupts score