| 1 |
{% import 'elementor/macros' as m %} |
| 2 |
{%- set allowed_tags = '<b><strong><sup><sub><s><em><i><u><del><span><br>' -%} |
| 3 |
{%- set has_link = settings.link is defined and settings.link.href is defined and settings.link.href is not empty -%} |
| 4 |
{%- set classes = settings.classes | merge( [ base_styles.base, m.default_tag_class(tag) ] ) | join(' ') -%} |
| 5 |
<{{ tag | e('html_tag') }} |
| 6 |
{%- if has_link %}{{ m.render_link_attributes(settings.link) }}{% endif %} class="{{ classes }}" data-interaction-id="{{ interaction_id }}" |
| 7 |
{{- m.render_custom_attributes(settings) }}> |
| 8 |
{{ settings.text | striptags(allowed_tags) | raw }} |
| 9 |
</{{ tag | e('html_tag') }}> |
| 10 |
|