Skip to content

Commit ad8bb2a

Browse files
committed
Merge branch 'develop'
2 parents 240f829 + c4bbc21 commit ad8bb2a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/LaTeXSwiftUI/Models/Parser.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,8 @@ extension Parser {
113113
return false
114114
}
115115

116-
print("found match \(match.0.equation)")
117-
118116
// Make sure the inner component is non-empty
119117
let text = Component(text: String(input[range]), type: match.0.equation).text
120-
print(text)
121118
guard !text.isEmpty else {
122119
return false
123120
}
@@ -129,7 +126,6 @@ extension Parser {
129126
if range.lowerBound > input.startIndex, input[input.index(before: range.lowerBound)] == "\\" {
130127
return false
131128
}
132-
print("leading not escaped")
133129

134130
// Make sure the ending terminator isn't escaped
135131
let endingTerminatorStartIndex = input.index(range.upperBound, offsetBy: -match.0.equation.rightTerminator.count)
@@ -139,7 +135,6 @@ extension Parser {
139135
if endingTerminatorStartIndex > input.startIndex, input[input.index(before: endingTerminatorStartIndex)] == "\\" {
140136
return false
141137
}
142-
print("trailing not escaped")
143138

144139
// The component has content and isn't escaped
145140
return true

0 commit comments

Comments
 (0)