Skip to content

Commit 27cfe82

Browse files
committed
Make links mergeable.
1 parent f54868f commit 27cfe82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public struct Element: RawRepresentable, Hashable {
3030
public static var mergeableBlockLevelElements = Set<Element>([.blockquote, .div, .figure, .figcaption, .h1, .h2, .h3, .h4, .h5, .h6, .hr, .li, .ol, .ul, .p, .pre])
3131

3232
/// List of style HTML elements that can be merged together when they are sibling to each other
33-
public static var mergeableStyleElements = Set<Element>([.i, .em, .b, .strong, .strike, .u, .code, .cite])
33+
public static var mergeableStyleElements = Set<Element>([.i, .em, .b, .strong, .strike, .u, .code, .cite, .a])
3434

3535
/// List of block level elements that can be merged but only when they have a single children that is also mergeable
3636
///

0 commit comments

Comments
 (0)