mirror of
https://github.com/makeworld-the-better-one/amfora.git
synced 2024-11-25 13:52:16 +03:00
Fix issue from prev commit when color = true
This commit is contained in:
parent
b52263c487
commit
5ed3afcd52
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user