epic tutorial bikeshedding
[naja.git] / naja / widgets / text.py
index af7f0ac55c11b898b103363aec27dcde9c855e12..f105e3bc1cb972dd6dde63534b1fd2e833d05928 100644 (file)
@@ -171,7 +171,7 @@ class TextBoxWidget(TextWidget):
 
     def _check_markup(self, word):
         suffix = ''
-        if word[-1] in '.,':
+        if word[-1] in '.,:':
             suffix = word[-1]
             word = word[:-1]