mirror of
https://github.com/makew0rld/amfora.git
synced 2025-02-02 15:07:34 -05: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…
x
Reference in New Issue
Block a user