Skip to content

Commit

Permalink
Fix code tag processing
Browse files Browse the repository at this point in the history
  • Loading branch information
garretyoder authored Feb 21, 2024
1 parent 9d273a3 commit a83f861
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ internal object RichTextStateHtmlParser : RichTextStateParser<String> {
H6SPanStyle to "h6",
)

private const val CodeSpanTagName = "code-span"
private const val CodeSpanTagName = "code"

/**
* Encodes HTML elements to [RichSpanStyle].
Expand Down Expand Up @@ -393,4 +393,4 @@ internal object RichTextStateHtmlParser : RichTextStateParser<String> {
}
}

}
}

0 comments on commit a83f861

Please sign in to comment.