File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Sources/LaTeXSwiftUI/Models Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments