diff --git a/lttoolbox/reusable_state.cc b/lttoolbox/reusable_state.cc index ae48d54..8fc588e 100644 --- a/lttoolbox/reusable_state.cc +++ b/lttoolbox/reusable_state.cc @@ -237,7 +237,7 @@ void ReusableState::extract(size_t pos, UString& result, double& weight, }) for (auto it = symbols.rbegin(); it != symbols.rend(); it++) { if (escaped_chars.find(*it) != escaped_chars.end()) result += '\\'; - alphabet.getSymbol(result, *it, uppercase); + alphabet.getSymbol(result, *it, uppercase && get(pos).dirty); } }