| @@ -731,9 +731,9 @@ | ||
| 731 | 731 | |
| 732 | 732 | $slide_html = '<div class="swiper-slide">' . $link_tag . '<figure class="swiper-slide-inner">' . $image_html; |
| 733 | 733 | |
| 734 | 734 | if ( ! empty( $image_caption ) ) { |
| 735 | - $slide_html .= '<figcaption class="elementor-image-carousel-caption">' . esc_html( $image_caption ) . '</figcaption>'; | |
| 735 | + $slide_html .= '<figcaption class="elementor-image-carousel-caption">' . wp_kses_post( $image_caption ) . '</figcaption>'; | |
| 736 | 736 | } |
| 737 | 737 | |
| 738 | 738 | $slide_html .= '</figure>'; |
| 739 | 739 | |