Commits

David Cramer committed 368f2a5

Assuming TextNode needs instance as first argument

  • Participants
  • Parent commits a857879

Comments (0)

Files changed (1)

bbcode/__init__.py

         """
         Pulls all text nodes and returns the parent
         """
-        self.parent.nodes.append(TextNode(self.fullcontent[self.start:end]))
+        self.parent.nodes.append(TextNode(self, self.fullcontent[self.start:end]))
         return self.parent
     
     def close(self, end):