From 5792a18bfef1494a54c660f053e7163b6bd45298 Mon Sep 17 00:00:00 2001 From: mxkae Date: Tue, 24 Sep 2024 20:39:00 +0800 Subject: [PATCH] add use tag --- src/kses.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kses.php b/src/kses.php index 511a3217c..859324550 100644 --- a/src/kses.php +++ b/src/kses.php @@ -78,6 +78,9 @@ function stackable_allow_wp_kses_allowed_html( $tags, $context ) { $tags['clippath'] = array(); $tags['filter'] = array(); $tags['g'] = array(); + $tags['use'] = array( + 'xlink:href' => true, + ); $tags['text'] = array( 'font-size' => true, 'font-family' => true,