|
@@ -162,8 +162,7 @@ func applyInlineAttr(style tcell.Style, attr discordmd.Attribute) tcell.Style {
|
|
|
case discordmd.AttrItalics:
|
|
case discordmd.AttrItalics:
|
|
|
return style.Italic(true)
|
|
return style.Italic(true)
|
|
|
case discordmd.AttrUnderline:
|
|
case discordmd.AttrUnderline:
|
|
|
- // tcell v3 in this project does not expose underline attrs.
|
|
|
|
|
- return style
|
|
|
|
|
|
|
+ return style.Underline(true)
|
|
|
case discordmd.AttrStrikethrough:
|
|
case discordmd.AttrStrikethrough:
|
|
|
return style.StrikeThrough(true)
|
|
return style.StrikeThrough(true)
|
|
|
case discordmd.AttrMonospace:
|
|
case discordmd.AttrMonospace:
|