+ if self.inparagraph:
+ self.text = self.text + "\n".join(textwrap.wrap(self.currentparagraph, 70)) + "\n"
+ self.currentparagraph = ""
+ elif self.inblockquote:
+ self.text = self.text + "\n> " + "\n> ".join([a.strip() for a in textwrap.wrap(self.blockquote, 68)]) + "\n"
+ self.blockquote = ""
+ else:
+ self.text = self.text + "\n"
+ elif tag.lower() == "blockquote":
+ self.inblockquote = True