We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6aaf5ba + bec5d79 commit 6ebb8a8Copy full SHA for 6ebb8a8
inc/plugins/woocommerce/features/quick-view.php
@@ -358,7 +358,21 @@ function botiga_quick_view_summary_excerpt( $product = null ) {
358
*/
359
do_action( 'botiga_quick_view_product_excerpt_start' ); ?>
360
<div class="woocommerce-product-details__short-description">
361
- <p><?php echo wp_kses_post( do_shortcode( $short_description ) ); ?></p>
+ <p><?php
362
+ $allowed_html = array_merge(
363
+ wp_kses_allowed_html('post'),
364
+ array(
365
+ 'style' => array(
366
+ 'type' => true,
367
+ 'id' => true,
368
+ 'class' => true,
369
+ 'media' => true,
370
+ ),
371
372
+ );
373
+
374
+ echo wp_kses( do_shortcode( $short_description ), $allowed_html );
375
+ ?></p>
376
</div>
377
<?php
378
/**
0 commit comments