Skip to content

Commit

Permalink
validateText should cope with 'sym' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Mar 20, 2017
1 parent d6a9689 commit dc04bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/text.cpp
Expand Up @@ -3155,7 +3155,7 @@ bool Text::validateText(QString& s)
d.append("&");
}
else if (c == '<') {
const char* ok[] { "b>", "/b>", "i>", "/i>", "u>", "/u", "font ", "/font>" };
const char* ok[] { "b>", "/b>", "i>", "/i>", "u>", "/u", "font ", "/font>", "sym>", "/sym>" };
QString t = s.mid(i+1);
bool found = false;
for (auto k : ok) {
Expand Down

0 comments on commit dc04bfa

Please sign in to comment.