Fall back to regular contents if formatted ones aren't available.
1 files changed, 9 insertions(+), 0 deletions(-)

M src/main/java/com/ajtjp/geminiclient/lines/GeminiLine.java
M src/main/java/com/ajtjp/geminiclient/lines/GeminiLine.java +9 -0
@@ 4,4 4,13 @@ public abstract class GeminiLine {
     public LineType type;
     public String contents;
     public String formattedContents;
+    
+    public String getFormattedContents() {
+        if (formattedContents != null) {
+            return formattedContents;
+        }
+        else {
+            return contents;
+        }
+    }
 }