diff --git a/app/src/main/java/dev/lowrespalmtree/comet/Gemtext.kt b/app/src/main/java/dev/lowrespalmtree/comet/Gemtext.kt index 4f231c9..fb11c0b 100644 --- a/app/src/main/java/dev/lowrespalmtree/comet/Gemtext.kt +++ b/app/src/main/java/dev/lowrespalmtree/comet/Gemtext.kt @@ -63,7 +63,7 @@ private fun parseLine(line: CharBuffer, isPreformatted: Boolean): Line = line.startsWith(">") -> getCharsFrom(line, 1) // eh empty lines in quotes… .run { if (isBlank()) EmptyLine() else BlockquoteLine(this) } line.startsWith("=>") -> getCharsFrom(line, 2) - .split(" ", limit = 2) + .split(" ", "\t", limit = 2) .run { LinkLine(get(0), if (size == 2) get(1).trimStart() else "") } isPreformatted -> PreTextLine(line.toString()) line.isEmpty() -> EmptyLine()