term generation: only keep @ when not at start of term
This commit is contained in:
parent
9f63e46142
commit
3c36c57db2
1 changed files with 3 additions and 1 deletions
|
@ -517,8 +517,10 @@ bool TextSplit::text_to_words(const string &in)
|
||||||
return false;
|
return false;
|
||||||
curspanglue = cc;
|
curspanglue = cc;
|
||||||
m_inNumber = false;
|
m_inNumber = false;
|
||||||
}
|
|
||||||
m_wordStart += it.appendchartostring(m_span);
|
m_wordStart += it.appendchartostring(m_span);
|
||||||
|
} else {
|
||||||
|
goto SPACE;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case '_':
|
case '_':
|
||||||
if (m_wordLen) {
|
if (m_wordLen) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue