I am using custom style on my rpg type forum and I wanted to add simple button using custom fields that will redirect you to character sheet (which is a thread). This button can be viewed in meberlist.php?mode=viewprofile which is simply preview of users profile. Now the problem is - when I hover over the button browser shows the correct link. When I open in new tab, browser redirects me to correct page on the new tab. But when I left click it doesnt open new tab - instead it redirects me to another memberlist page which is main group of the user.
Here is the code im using in memberlist_view.html
<!-- IF custom_fields.PROFILE_FIELD_NAME eq "Karta postaci" -->
<dd><a href="{custom_fields.PROFILE_FIELD_VALUE}" target="_blank"><button class="button">KARTA POSTACI</button></a>
</dd>
<!-- ENDIF -->
Any idea how it does that and how to prevent this?