Ben Kurtovic 11 роки тому
джерело
коміт
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):


Завантаження…
Відмінити
Зберегти