fix(style): fix copy-pastos in added styles

Fixes what looks like a few copy-pastos in the recently added styles.
This commit is contained in:
TomJGooding
2025-03-25 19:31:43 +00:00
parent 9316f44e96
commit 169d5a5a2f
2 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ STYLE_ABBREVIATIONS = {
"d": "dim",
"i": "italic",
"u": "underline",
"uu": "underline",
"uu": "underline2",
"r": "reverse",
"s": "strike",
}

View File

@@ -134,11 +134,11 @@ class Style:
if self.underline is not None:
output_append("underline" if self.underline else "not underline")
if self.underline2 is not None:
output_append("underline2" if self.underline else "not underline2")
output_append("underline2" if self.underline2 else "not underline2")
if self.strike is not None:
output_append("strike" if self.strike else "not strike")
if self.blink is not None:
output_append("blink" if self.strike else "not blink")
output_append("blink" if self.blink else "not blink")
if self.link is not None:
if "'" not in self.link:
output_append(f"link='{self.link}'")
@@ -180,7 +180,7 @@ class Style:
if self.strike is not None:
output_append("strike" if self.strike else "not strike")
if self.blink is not None:
output_append("blink" if self.strike else "not blink")
output_append("blink" if self.blink else "not blink")
if self.link is not None:
output_append("link")
if self._meta is not None: