'django's urlize changing text color of entire string containing url substring

I am loading a long text from a database into a Django template. This string contains a url https://yyyyyy as part of the text. I use django's urlize in order to display the url as actual links, however adding urlize is causing the entire text including the link to change color to blue. Removing the urlize leaves the text as black. I only want the text to be black. How can I stop this color from changing to blue while using urlize?

Here is my implementation :

<p style="font-size: 15px;  color: black" class="tm-pt-30">
     {{ value.description | safe | urlize }}
</p>

The class tm-pt-30 is only responsible for padding.



Solution 1:[1]

@raphael was right. My problem is I had wrapped the entire card containing the code in the question with <a></a> in order to make the whole card clickable. The fix for this was only wrapping the appropriate elements.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kaita John