chore: don't allow selection of symbol tokens (#3589)
This commit is contained in:
parent
a7054f25a5
commit
ff250e2d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ class HtmlMessage extends StatelessWidget {
|
|||
pangeaMessageEvent?.messageDisplayRepresentation?.tokens
|
||||
?.where(
|
||||
(t) =>
|
||||
t.pos != "PUNCT" &&
|
||||
!["PUNCT", "SYM"].contains(t.pos) &&
|
||||
!t.lemma.text.contains(RegExp(r'[0-9]')) &&
|
||||
t.lemma.text.length <= 50,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue