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(", ")