Skip to content

Commit 404f736

Browse files
committed
Fixing open tag bug
1 parent ad02b34 commit 404f736

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/String.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ internal extension String {
153153

154154
guard openTags.count == 0 else {
155155
assertionFailure("Texty: open tags without matching closing tags (unbalanced tags found in string)")
156+
return
156157
}
157158

158159
self = newString

0 commit comments

Comments
 (0)