Skip to content

Commit

Permalink
fix #26806: Importing 1.x scores with Staff text containing <CR>
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jul 23, 2014
1 parent b895fde commit b94670c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/xml.cpp
Expand Up @@ -672,7 +672,7 @@ QString XmlReader::readXml()
case XmlStreamReader::EndElement:
return s;
case XmlStreamReader::Characters:
if (!isWhitespace())
if (!isWhitespace() || text().toString() == "\n")
s += text().toString().toHtmlEscaped();
break;
case XmlStreamReader::Comment:
Expand Down

0 comments on commit b94670c

Please sign in to comment.