@@ -41,6 +41,7 @@ import org.wordpress.aztec.spans.AztecQuoteSpan
4141import org.wordpress.aztec.spans.AztecStrikethroughSpan
4242import org.wordpress.aztec.spans.AztecUnorderedListSpan
4343import org.wordpress.aztec.spans.AztecVideoSpan
44+ import org.wordpress.aztec.spans.HiddenHtmlBlock
4445import org.wordpress.aztec.spans.HiddenHtmlSpan
4546import org.wordpress.aztec.spans.IAztecAttributedSpan
4647import org.wordpress.aztec.spans.IAztecNestable
@@ -75,10 +76,14 @@ class AztecTagHandler(val context: Context, val plugins: List<IAztecPlugin> = Ar
7576 handleElement(output, opening, AztecStrikethroughSpan (tag, AztecAttributes (attributes)))
7677 return true
7778 }
78- DIV , SPAN , FIGURE , FIGCAPTION , SECTION -> {
79+ SPAN -> {
7980 handleElement(output, opening, HiddenHtmlSpan (tag, AztecAttributes (attributes), nestingLevel))
8081 return true
8182 }
83+ DIV , FIGURE , FIGCAPTION , SECTION -> {
84+ handleElement(output, opening, HiddenHtmlBlock (tag, AztecAttributes (attributes), nestingLevel))
85+ return true
86+ }
8287 LIST_UL -> {
8388 handleElement(output, opening, AztecUnorderedListSpan (nestingLevel, AztecAttributes (attributes)))
8489 return true
0 commit comments