migration, auth, refactoring, formatting

This commit is contained in:
2022-09-17 21:12:14 +03:00
parent 6b4c00d9e7
commit 3136eecd7e
68 changed files with 968 additions and 930 deletions

View File

@@ -379,16 +379,16 @@ class HTML2Text(html.parser.HTMLParser):
if start:
if (
self.current_class == "highlight"
and self.inheader == False
and self.span_lead == False
and self.astack == False
and not self.inheader
and not self.span_lead
and not self.astack
):
self.o("`") # NOTE: same as <code>
self.span_highlight = True
elif (
self.current_class == "lead"
and self.inheader == False
and self.span_highlight == False
and not self.inheader
and not self.span_highlight
):
# self.o("==") # NOTE: CriticMarkup {==
self.span_lead = True