We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f297e84 commit 263205cCopy full SHA for 263205c
WordPress/src/main/java/org/wordpress/android/ui/comments/unified/UnifiedCommentsEditViewModel.kt
@@ -252,11 +252,7 @@ class UnifiedCommentsEditViewModel @Inject constructor(
252
}
253
254
private fun htmlToPlainText(html: String): String {
255
- return if (html.contains("<") || html.contains("&")) {
256
- htmlCompatWrapper.fromHtml(html).toString().trim()
257
- } else {
258
- html
259
- }
+ return htmlCompatWrapper.fromHtml(html).toString().trim()
260
261
262
private suspend fun updateComment(editedCommentEssentials: CommentEssentials) {
0 commit comments