From ac7d5ecc44a7821265b5cc8a00a9eace6428da56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 22 Jun 2020 19:44:16 +0200 Subject: [PATCH] Ensure markdown still passed through Glamour in no-color mode --- utils/utils.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/utils/utils.go b/utils/utils.go index 9441bc2bc..c84860d9e 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -23,10 +23,6 @@ func OpenInBrowser(url string) error { func RenderMarkdown(text string) (string, error) { style := "notty" - if !isColorEnabled() { - return text, nil - } - if isColorEnabled() { style = "dark" }