← All changes
|
modules/atomic-widgets/elements/flexbox/flexbox.html.twig
+2
-6
4.2.0
→
4.3.0-beta3
View file →
| @@ -1,11 +1,7 @@ | ||
| 1 | 1 | {% import 'elementor/macros' as m %} |
| 2 | -{%- set tag = settings.tag | default('div') -%} | |
| 3 | -{%- if settings.link is defined and settings.link.href is defined and settings.link.href is not empty -%} | |
| 4 | - {%- set tag = settings.link.tag | default('a') -%} | |
| 5 | -{%- endif -%} | |
| 6 | -<{{ tag }} class="{{ m.render_base_classes(id, base_styles, settings) }} {{ editor_classes | default('') }}" | |
| 2 | +<{{ tag | e('html_tag') }} class="{{ m.render_base_classes(id, base_styles, settings, [], tag) }} {{ editor_classes | default('') }}" | |
| 7 | 3 | {{- ' ' }}{{ m.render_data_attributes(id, type, interaction_id) }} |
| 8 | 4 | {{- m.render_link_attributes(settings.link | default(null)) }} |
| 9 | 5 | {{- m.render_custom_attributes(settings, editor_attributes) }}> |
| 10 | 6 | <!-- elementor-children-placeholder --> |
| 11 | -</{{ tag }}> | |
| 7 | +</{{ tag | e('html_tag') }}> | |