Skip to content

Commit

Permalink
Merge pull request #210 from garretyoder/main
Browse files Browse the repository at this point in the history
Fix code tag processing
  • Loading branch information
MohamedRejeb authored Mar 10, 2024
2 parents be1a3cb + a83f861 commit 60fb458
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 60fb458

Please sign in to comment.