diff --git a/src/engraving/libmscore/harmony.cpp b/src/engraving/libmscore/harmony.cpp index 5535516478efd..20e02de755756 100644 --- a/src/engraving/libmscore/harmony.cpp +++ b/src/engraving/libmscore/harmony.cpp @@ -2104,11 +2104,12 @@ String Harmony::generateScreenReaderInfo() const { u"i", u"1" }, }; static std::vector > symbolReplacements { - { u"b", u"♭" }, { u"h", u"♮" }, { u"#", u"♯" }, { u"bb", u"𝄫" }, { u"##", u"𝄪" }, + { u"b", u"♭" }, // also replace b with ♭ for \b + { u"\\♭", u"b" }, // \b should be b, so correct replacing in the previous step // TODO: use SMuFL glyphs and translate //{ "o", ""}, //{ "0", ""}, @@ -2119,10 +2120,7 @@ String Harmony::generateScreenReaderInfo() const aux.replace(r.first, r.second); } for (auto const& r : symbolReplacements) { - // only replace when not preceded by backslash - String s = u"(?