Skip to content

Commit

Permalink
Merge pull request #92 from janseeger/main
Browse files Browse the repository at this point in the history
Add support for <s>-tag
  • Loading branch information
MohamedRejeb committed Aug 11, 2023
2 parents a5cce00 + 27dc02a commit 3cdcbac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ internal object RichTextStateHtmlParser : RichTextStateParser<String> {
"em" to ItalicSpanStyle,
"u" to UnderlineSpanStyle,
"ins" to UnderlineSpanStyle,
"s" to StrikethroughSpanStyle,
"strike" to StrikethroughSpanStyle,
"del" to StrikethroughSpanStyle,
"sub" to SubscriptSpanStyle,
Expand All @@ -303,7 +304,7 @@ internal object RichTextStateHtmlParser : RichTextStateParser<String> {
BoldSpanStyle to "b",
ItalicSpanStyle to "i",
UnderlineSpanStyle to "u",
StrikethroughSpanStyle to "strike",
StrikethroughSpanStyle to "s",
SubscriptSpanStyle to "sub",
SuperscriptSpanStyle to "sup",
MarkSpanStyle to "mark",
Expand Down

0 comments on commit 3cdcbac

Please sign in to comment.