@@ -58,7 +58,7 @@ def is_optional_start(self, tagname, previous, next):
5858elif tagname == 'colgroup' :
5959# A colgroup element's start tag may be omitted if the first thing
6060# inside the colgroup element is a col element, and if the element
61- # is not immediatelypreceeded by another colgroup element whose
61+ # is not immediatelypreceded by another colgroup element whose
6262# end tag has been omitted.
6363if type in ("StartTag" ,"EmptyTag" ):
6464# XXX: we do not look at the preceding event, so instead we never
@@ -70,7 +70,7 @@ def is_optional_start(self, tagname, previous, next):
7070elif tagname == 'tbody' :
7171# A tbody element's start tag may be omitted if the first thing
7272# inside the tbody element is a tr element, and if the element is
73- # not immediatelypreceeded by a tbody, thead, or tfoot element
73+ # not immediatelypreceded by a tbody, thead, or tfoot element
7474# whose end tag has been omitted.
7575if type == "StartTag" :
7676# omit the thead and tfoot elements' end tag when they are