There are many feature matrix details pages that would have
just a plain URL that was not clickable, either due to someone
accessing a feature matrix details page directly, or due to an
old details pages with a description being converted to just a
link.
This ensures that such pages can have a clickable link to attempt
to create a better user experience. Doing so from the Django
template filters is a bit roundabout, but it does get the desired
effect.
<h1>Feature Description</h1>
<h2>{{feature.featurename}}</h2>
<p>
-{{feature.featuredescription|markdown:"safe"}}
+{% if feature.featurelink|truncatechars:4 == "http" %}
+ For more information, please visit : <a href="{{ feature.featurelink }}">{{ feature.featurelink }}</a>
+{% else %}
+ {{ feature.featuredescription|markdown:"safe" }}
+{% endif %}
</p>
{%endblock%}