Skip to content

Commit 3dfb030

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +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
156+
return ret
157157
}
158158

159159
self = newString

0 commit comments

Comments
 (0)