From c18c10774e1e6dfb482ca33bc1d58722adf9cffd Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Thu, 1 Mar 2018 22:50:56 +0100 Subject: [PATCH] Remove erroneously repeated condition. --- matrix/colors.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/matrix/colors.py b/matrix/colors.py index 4c83f31..73decf1 100644 --- a/matrix/colors.py +++ b/matrix/colors.py @@ -300,8 +300,6 @@ class MatrixHtmlParser(HTMLParser): self._toggle_attribute("strikethrough") elif tag == "blockquote": self._toggle_attribute("quote") - elif tag == "blockquote": - self._toggle_attribute("quote") elif tag == "br": if self.text: self.substrings.append(