fix of testSources in TextQuote

This commit is contained in:
InsanusMokrassar committed 2024-01-08 13:55:41 +06:00
1 parent f2f370e40e
commit adede330fb
1 file changed
+1 -1
@@ -21,7 +21,7 @@ data class TextQuote private constructor(
val isManual: Boolean = false
) : TextedInput {
override val textSources: List<TextSource> by lazy {
entities ?.asTextSources(text) ?: emptyList()
(entities ?: emptyList()).asTextSources(text)
}
companion object {