| @@ -1445,9 +1445,9 @@ | ||
| 1445 | 1445 | */ |
| 1446 | 1446 | public function before_render() { |
| 1447 | 1447 | $settings = $this->get_settings_for_display(); |
| 1448 | 1448 | ?> |
| 1449 | - <<?php echo esc_html( $this->get_html_tag() ); ?> <?php $this->print_render_attribute_string( '_wrapper' ); ?>> | |
| 1449 | + <<?php echo $this->get_html_tag(); ?> <?php $this->print_render_attribute_string( '_wrapper' ); ?>> | |
| 1450 | 1450 | <?php |
| 1451 | 1451 | if ( 'video' === $settings['background_background'] ) : |
| 1452 | 1452 | if ( $settings['background_video_link'] ) : |
| 1453 | 1453 | $video_properties = Embed::get_video_properties( $settings['background_video_link'] ); |
| @@ -1511,9 +1511,9 @@ | ||
| 1511 | 1511 | <?php if ( ! Plugin::$instance->experiments->is_feature_active( 'e_dom_optimization' ) ) { ?> |
| 1512 | 1512 | </div> |
| 1513 | 1513 | <?php } ?> |
| 1514 | 1514 | </div> |
| 1515 | - </<?php echo esc_html( $this->get_html_tag() ); ?>> | |
| 1515 | + </<?php echo $this->get_html_tag(); ?>> | |
| 1516 | 1516 | <?php |
| 1517 | 1517 | } |
| 1518 | 1518 | |
| 1519 | 1519 | /** |
| @@ -1570,9 +1570,9 @@ | ||
| 1570 | 1570 | if ( empty( $html_tag ) ) { |
| 1571 | 1571 | $html_tag = 'section'; |
| 1572 | 1572 | } |
| 1573 | 1573 | |
| 1574 | - return $html_tag; | |
| 1574 | + return Utils::validate_html_tag( $html_tag ); | |
| 1575 | 1575 | } |
| 1576 | 1576 | |
| 1577 | 1577 | /** |
| 1578 | 1578 | * Print section shape divider. |