From 84795ad72f47fa1506ebd838df2b520fcdb165ee Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 28 Dec 2019 06:06:21 +0100 Subject: [PATCH] Fix json tag for strikethrough text --- ansi/style.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansi/style.go b/ansi/style.go index 0b13cec..abfc36d 100644 --- a/ansi/style.go +++ b/ansi/style.go @@ -108,7 +108,7 @@ type StyleConfig struct { H6 StyleBlock `json:"h6"` Text StylePrimitive `json:"text"` - Strikethrough StylePrimitive `json:"strike_through"` + Strikethrough StylePrimitive `json:"strikethrough"` Emph StylePrimitive `json:"emph"` Strong StylePrimitive `json:"strong"` HorizontalRule StylePrimitive `json:"hr"`