• File: atomic-heading.html.twig
  • Full Path: /home/bravrvjk/hpgt.org/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-heading/atomic-heading.html.twig
  • Date Modified: 03/30/2026 1:49 PM
  • File size: 961 bytes
  • MIME-type: text/plain
  • Charset: utf-8
{% if settings.title is not empty %}
	{% set id_attribute = settings._cssid is not empty ? 'id=' ~ settings._cssid | e('html_attr') : '' %}
	<{{ settings.tag | e('html_tag') }} 
		data-interaction-id="{{ interaction_id }}" 
		class="{{ settings.classes | merge( [ base_styles.base ] ) | join(' ') }}" 
		{{ id_attribute }} 
		{{ settings.attributes | raw }}
	>
	{% set allowed_tags = '<b><strong><sup><sub><s><em><i><u><a><del><span><br>' %}

	{% if settings.link.href %}
		<{{ settings.link.tag | e('html_tag') }} 
			{% set linkAttr = settings.link.tag == 'a' ? 'href' : 'data-action-link' %}
			{{ linkAttr }}="{{ settings.link.href | raw }}"
			target="{{ settings.link.target }}" 
			class="{{ base_styles['link-base'] }}">
			{{ settings.title | striptags(allowed_tags) | raw }}
		</{{ settings.link.tag | e('html_tag') }}>
	{% else %}
		{{ settings.title | striptags(allowed_tags) | raw }}
	{% endif %}
	</{{ settings.tag | e('html_tag') }}>
{% endif %}