We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce1114 commit 0a8a58fCopy full SHA for 0a8a58f
1 file changed
src/rime/composition.cc
@@ -132,7 +132,7 @@ string Composition::GetScriptText(bool keep_selection) const {
132
result += cand->text();
133
else if (cand && !cand->preedit().empty())
134
result += boost::erase_first_copy(cand->preedit(), "\t");
135
- else
+ else if (!seg.HasTag("phony"))
136
result += input_.substr(start, end - start);
137
}
138
if (input_.length() > end) {
0 commit comments