51
54
truncate_words = allow_lazy(truncate_words, unicode)
53
56
def truncate_html_words(s, num, end_text='...'):
55
58
comments). Closes opened tags if they were correctly closed in the given
56
59
html. Takes an optional argument of what should be used to notify that the