diff --git a/mwparserfromhell/nodes/comment.py b/mwparserfromhell/nodes/comment.py index ff77b18..9b4a024 100644 --- a/mwparserfromhell/nodes/comment.py +++ b/mwparserfromhell/nodes/comment.py @@ -30,7 +30,7 @@ __all__ = ["Comment"] class Comment(Node): """Represents a hidden HTML comment, like ````.""" def __init__(self, contents): - super(Text, self).__init__() + super(Comment, self).__init__() self._contents = contents def __unicode__(self):