Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts b983f34685
Gemini parser cleanup 2020-07-13 00:12:31 -04:00
1 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,13 @@ public struct GeminiParser {
} }
fileprivate extension GeminiParser {
enum PreformattingState {
case off
case on(_ alt: String?)
}
}
fileprivate extension String { fileprivate extension String {
func firstNonWhitespaceIndex(after index: String.Index) -> String.Index { func firstNonWhitespaceIndex(after index: String.Index) -> String.Index {
var index = index var index = index