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 d760083 commit 918fb03Copy full SHA for 918fb03
aztec/src/test/kotlin/org/wordpress/aztec/AztecParserTest.kt
@@ -1219,4 +1219,13 @@ class AztecParserTest : AndroidTestCase() {
1219
val output = mParser.toHtml(span)
1220
Assert.assertEquals(output, inputAfterParser)
1221
}
1222
+
1223
+ @Test
1224
+ @Throws(Exception::class)
1225
+ fun parseHtmlToSpanToHtmlParagraphInsideHiddenSpan_isEqual() {
1226
+ val input = "<p>a</p><div><p>b</p></div><p>c</p>"
1227
+ val span = SpannableString(mParser.fromHtml(input, RuntimeEnvironment.application.applicationContext))
1228
+ val output = mParser.toHtml(span)
1229
+ Assert.assertEquals(input, output)
1230
+ }
1231
0 commit comments