Commits

Matt Chaput committed 7e3e4e0

Fixed bug where highlight.NullFragmenter wasn't returning an iterable.

Comments (0)

Files changed (1)

src/whoosh/highlight.py

     returns the entire stream as one "fragment". This is useful if
     you want to highlight the entire text.
     """
-    return Fragment(list(tokens))
+    return [Fragment(list(tokens))]
 
 
 class SimpleFragmenter(object):