From 45b60be9f5fed1ca5a697cdc6618760ec1c11fee Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 1 Aug 2023 14:09:53 +0800 Subject: [PATCH] * Output text with html. --- lib/zin/wg/formlabel/v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/formlabel/v1.php b/lib/zin/wg/formlabel/v1.php index 7f4a112ace..2c391115c6 100644 --- a/lib/zin/wg/formlabel/v1.php +++ b/lib/zin/wg/formlabel/v1.php @@ -27,7 +27,7 @@ class formLabel extends wg setClass('form-label', $required ? 'required' : null), set('for', $for), set($this->getRestProps()), - $text, + html($text), $this->children(), ); }