Skip to content

Commit bfcc9a5

Browse files
committed
Merge branch 'develop' into issue/allow_configuration_of_text_color
2 parents e129ae0 + 446bca5 commit bfcc9a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Aztec/Classes/Libxml2/DOM/Data/ElementNode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public class ElementNode: Node {
255255
/// - Returns: Returns `true` if it can be the last one, false otherwise.
256256
///
257257
func canBeLastInTree() -> Bool {
258-
return hasAttributes() || type == .li
258+
return hasAttributes() || isBlockLevel()
259259
}
260260

261261
/// Find out if this is a block-level element.

0 commit comments

Comments
 (0)