Ben Kurtovic 11 лет назад
Родитель
Сommit
bd132ad249
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mwparserfromhell/nodes/comment.py

+ 1
- 1
mwparserfromhell/nodes/comment.py Просмотреть файл

@@ -30,7 +30,7 @@ __all__ = ["Comment"]
class Comment(Node):
"""Represents a hidden HTML comment, like ``<!-- foobar -->``."""
def __init__(self, contents):
super(Text, self).__init__()
super(Comment, self).__init__()
self._contents = contents

def __unicode__(self):


Загрузка…
Отмена
Сохранить