fix external links
This commit is contained in:
		@@ -193,9 +193,15 @@
 | 
			
		||||
                            {% if '<a' in header_label %}
 | 
			
		||||
                                {% set link_label = header_label | striptags %}
 | 
			
		||||
                                {% set link_path = header_label | split(pat="%22") | safe%}
 | 
			
		||||
                                {% if header_label is containing("http") %}
 | 
			
		||||
                                <a href="{{link_path[1]}}" target="_blank" class="text-lg px-8 py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
 | 
			
		||||
                                    {{link_label}}
 | 
			
		||||
                                </a>
 | 
			
		||||
                                {% else %}
 | 
			
		||||
                                <a href="{{link_path[1]}}" class="text-lg px-8 py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
 | 
			
		||||
                                    {{link_label}}
 | 
			
		||||
                                </a>
 | 
			
		||||
                                {% endif %}
 | 
			
		||||
                            {% else %}
 | 
			
		||||
                                {% set button_id = header_label ~ "-mobile-menu-btn" | slugify %}
 | 
			
		||||
                                    <button type="button" id="{{button_id}}" class="flex flex px-8 py-3 items-start text-left text-gray-900 group inline-flex space-x-2 text-lg leading-6 font-normal hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user