1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 09:13:24 +01:00

Break after applying first matching rule in HTML Serializer

Fixes #404
This commit is contained in:
Kevin Lee 2016-10-25 10:06:22 -07:00 committed by Ian Storm Taylor
parent ee624b078b
commit fccf7247cf

View File

@ -177,6 +177,7 @@ class Html {
node = ret.kind == 'mark'
? this.deserializeMark(ret)
: ret
break
}
return node || next(element.children)