Fix end of text behaviour in case of sentence positions

Change-Id: Ic433dd3579d9a79df5734a405e682596c3ccddad
diff --git a/datok.go b/datok.go
index fba655e..1dd5cbe 100644
--- a/datok.go
+++ b/datok.go
@@ -1018,6 +1018,10 @@
 
 		if eot {
 			eot = false
+			if !sentenceEnd {
+				sentenceEnd = true
+				w.SentenceEnd(buffc)
+			}
 			textEnd = true
 			w.TextEnd(0)
 			if DEBUG {