Skip to content

Commit 67e4971

Browse files
committed
fix: parsing empty elements
1 parent 571fa10 commit 67e4971

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

android/src/main/java/com/swmansion/enriched/utils/EnrichedParser.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ public Spanned convert() {
412412
}
413413

414414
private void handleStartTag(String tag, Attributes attributes) {
415-
isEmptyTag = false;
416415
if (tag.equalsIgnoreCase("br")) {
417416
// We don't need to handle this. TagSoup will ensure that there's a </br> for each <br>
418417
// so we can safely emit the linebreaks when we handle the close tag.

0 commit comments

Comments
 (0)