#21 - Fix links on mozz.us causing a crash.  There were two aspects of them that difffered from most others: not having a space after the =>, and having spaces in labels.

The URL support should now be much more robust.
1 files changed, 4 insertions(+), 3 deletions(-)

M src/main/java/com/ajtjp/geminiclient/lines/LinkLine.java
M src/main/java/com/ajtjp/geminiclient/lines/LinkLine.java +4 -3
@@ 16,10 16,11 @@ public class LinkLine extends GeminiLine
     }
     
     private void parseContents(String contents) {
-        String[] parts = contents.split("\\s+");
-        url = parts[1];
+        String urlAndLabel = contents.substring(2).trim();
+        String[] parts = urlAndLabel.split("\\s+");
+        url = parts[0];
         StringBuilder sb = new StringBuilder();
-        for (int i = 2; i < parts.length; i++) {
+        for (int i = 1; i < parts.length; i++) {
             sb.append(parts[i]);
             if (i < parts.length - 1) {
                 sb.append(" ");