Cancel HTML in a shortcode

What I am trying to do is to insert an icon into a text widget in wordpress.

Code:

[icons border_radius="0" align="center" size="large" style="style1" icon_c="#ffffff" icon_bgc="" icon_c_hover="#ffffff" icon_bgc_hover=""]    
[single_icon icon="27|fontawesome"]    
[/icons]
&nbsp;<h5 style="text-align: center;">Kęstučio g. 4, Vilnius</h5>

Result:
enter image description here

But the problem is, the icon (the globe) gets anchored. The “a” tags appear and it leads to the same page. Is there any way to cancel the HTML that is somehow applied ?


Source: shortcode

Leave a Reply