1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-01 18:31:08 +00:00

Fix issue from prev commit when color = true

This commit is contained in:
makeworld 2021-12-03 20:54:53 -05:00
parent b52263c487
commit 5ed3afcd52

View File

@ -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