]> gitweb.factorcode.org Git - factor.git/commitdiff
gemini: identify links more liberally.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 5 May 2021 15:50:35 +0000 (08:50 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 5 May 2021 15:50:35 +0000 (08:50 -0700)
This makes it work with "Station", the new Gemini social network.

gemini://station.martinrue.com/

extra/gemini/gemini.factor

index 2d3a8b16ccfe85032dec8cfde763ff783b7a8372..8984de2202b8502bc7c5abb7c6d4eada5541f5df 100644 (file)
@@ -179,7 +179,7 @@ CONSTANT: text-style H{ { font-size 12 } { font-style plain } }
     line {
         { [ "```" ?head ] [ drop pre toggle ] }
         { [ pre get ] [ print ] }
-        { [ "=> " ?head ] [ base-url gemini-link. ] }
+        { [ "=>" ?head ] [ base-url gemini-link. ] }
         { [ "> " ?head ] [ gemini-quoted. ] }
         { [ "* " ?head ] [ "• " write gemini-text. ] }
         { [ "### " ?head ] [ h3-style [ gemini-text. ] with-style ] }