Skip to content

Commit 3d09c81

Browse files
committed
Do no sanitize any text.
1 parent 79ec095 commit 3d09c81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ extension TextNode {
116116
/// - Returns: true if sanitization should happen, false otherwise
117117
///
118118
private func shouldSanitizeText() -> Bool {
119-
return !hasAncestor(ofType: .pre)
119+
return false
120+
//return !hasAncestor(ofType: .pre)
120121
}
121122
}

0 commit comments

Comments
 (0)