How do I get the userpoint description to include clickable node link? I would like to get a clickable link of the current node stored in the description parameter of the userpoints_userpointsapi 

Am using the code below at the moment. Its working fine  but the link shown under the user profile is not clickable. 

How can I make this link clickable whenever its displayed in anywhere else on the site for example under the user profile list of points by that user:

$params = array (
    'points' =&gt; round($percentage/10),
    'tid' =&gt;16,
    'description' =&gt; '&lt;a href="/node/'. $nid .'"&gt;'. $node-&gt;title .'&lt;/a&gt;'
    );
userpoints_userpointsapi($params);
You can reference the node using the entity_type => 'node' and entity_id => $node->nid arguments, then the description will automatically be linked to the node.