fix: compatible with Sogou input (#277)
This commit is contained in:
parent
ea44253c02
commit
410dcd9e57
|
@ -313,6 +313,8 @@ const updateInput = (data) => {
|
||||||
if (data == null || data.length <= 0) {
|
if (data == null || data.length <= 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
// replace (Non-Breaking Space) with normal blank space
|
||||||
|
data = data.replace(/\u00A0/g, ' ')
|
||||||
|
|
||||||
if (termInst == null) {
|
if (termInst == null) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue