From 7ce631b6ce45146dff18766e337bf2819c372de9 Mon Sep 17 00:00:00 2001 From: Alexei Anoshenko <2277098+anoshenko@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:06:12 +0200 Subject: [PATCH] Bug fixing --- backgroundGradient.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backgroundGradient.go b/backgroundGradient.go index 0089020..1a5355f 100644 --- a/backgroundGradient.go +++ b/backgroundGradient.go @@ -653,6 +653,8 @@ func (gradient *backgroundRadialGradient) cssStyle(session Session) string { buffer.WriteString(x.cssString("50%", session)) buffer.WriteString(" ") buffer.WriteString(y.cssString("50%", session)) + } else if shapeText != "" { + buffer.WriteString(shapeText) } buffer.WriteString(", ")