This commit is contained in:
Mariotaku Lee 2017-05-02 10:35:17 +08:00
parent 0376ad68fa
commit 494e748c5d
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 2 additions and 4 deletions

View File

@ -180,10 +180,8 @@ object HtmlSpanBuilder {
@Throws(ParseException::class)
override fun handleStandaloneElement(elementName: String, attributes: Map<String, String>?,
minimized: Boolean, line: Int, col: Int) {
if (minimized) {
val info = TagInfo(sb.length, elementName, attributes)
applyTag(sb, info.start, sb.length, info, processor)
}
val info = TagInfo(sb.length, elementName, attributes)
applyTag(sb, info.start, sb.length, info, processor)
}
val text: Spannable