Clickable UTF-symbols and HTML entities in text links

My wiki has a tiddler called ‘Wikipedia’. Now I want to place an external link to the official Wikipedia website and an internal link to this tiddler side by side. It should look like (3) below. But instead of the word Website I want to show a globe (2) as a clickable symbol.

But using the macro, the textlink only shows the HTML/UTF-code of the symbol. This holds for HTML entities proper as well as for UTF symbol codes.

Please see the attached tiddler. I can’t show the result here, because here on this website everythings works as it is supposed to do.

(1) Pound symbol: £ is £

  1. Globe symbol: :globe_with_meridians: is :globe_with_meridians:

  2. Pure text works:
    Website, [Wikipedia](file:///D:/Gesundheit/gesundheit.html#Wikipedia)

  3. HTML-entities and UTF don’t work:
    £, [Wikipedia](file:///D:/Gesundheit/gesundheit.html#Wikipedia)
    :globe_with_meridians:, [Wikipedia](file:///D:/Gesundheit/gesundheit.html#Wikipedia)

make_link_with_weblink.tid (995 Bytes)

Screenshot:

Use HTML syntax instead of the wiki syntax shortcut for the external link:

<a href="my URL"> html entity here </a>

The label provided for the link in the wikitext shortcut syntax is treated as literal text.

1 Like

Inserting the actual symbol seems to work:

Some styling is probably needed.

@saqimtiaz @twMat

Thanks! Both your suggestions work.

@saqimtiaz’s explanation explains why @twMat’s solution works: The symbol IS the text.