Explorar el Código

Bugfix.

tags/v0.1.1
Ben Kurtovic hace 12 años
padre
commit
bd132ad249
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mwparserfromhell/nodes/comment.py

+ 1
- 1
mwparserfromhell/nodes/comment.py Ver fichero

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


def __unicode__(self): def __unicode__(self):


Cargando…
Cancelar
Guardar