diff --git a/renderer/renderer.go b/renderer/renderer.go index f994584..32b7b41 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -162,7 +162,9 @@ func convertRegularGemini(s string, numLinks, width int, proxied bool) (string, // Underline non-gemini links if enabled var linkTag string if viper.GetBool("a-general.underline") { - linkTag = `[` + config.GetColorString("foreign_link") + linkTag + `::u]` + linkTag = `[` + config.GetColorString("foreign_link") + `::u]` + } else { + linkTag = `[` + config.GetColorString("foreign_link") + `]` } // Wrap and add link text