Author: jhm
Date: Wed Feb  7 07:10:08 2018
New Revision: 1823435

URL: http://svn.apache.org/viewvc?rev=1823435&view=rev
Log:
support https:// too

Modified:
    ant/site/ant/sources/stylesheets/templates.vm

Modified: ant/site/ant/sources/stylesheets/templates.vm
URL: 
http://svn.apache.org/viewvc/ant/site/ant/sources/stylesheets/templates.vm?rev=1823435&r1=1823434&r2=1823435&view=diff
==============================================================================
--- ant/site/ant/sources/stylesheets/templates.vm (original)
+++ ant/site/ant/sources/stylesheets/templates.vm Wed Feb  7 07:10:08 2018
@@ -92,7 +92,7 @@
 #end
 
 #macro ( projectanchor $name $value )
-  #if ($value.startsWith("http://";))
+  #if ($value.startsWith("http://";) || $value.startsWith("https://";))
     <a href="$value">$name</a>
   #elseif ($value.startsWith("/site"))
     <a href="http://jakarta.apache.org$value";>$name</a>


Reply via email to