diff --git a/src/main/resources/templates/HtmlReport.vsl b/src/main/resources/templates/HtmlReport.vsl index 0b27008fe..7ae3c6fa8 100644 --- a/src/main/resources/templates/HtmlReport.vsl +++ b/src/main/resources/templates/HtmlReport.vsl @@ -314,7 +314,11 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. #end

#if ($dependency.license) + #if ($dependency.license.startsWith("http://")) + License:

$esc.html($dependency.license)
+ #else License:
$esc.html($dependency.license)
+ #end #end File Path: $esc.html($dependency.FilePath)
MD5: $esc.html($dependency.Md5sum)
@@ -394,7 +398,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. #foreach($id in $dependency.getIdentifiers()) ##yes, we are HTML Encoding the href. this is okay. We can't URL encode as we have to trust the analyzer here...
  • $esc.html($id.type): $esc.html($id.value) - #if( $id.descrription ) + #if( $id.description )
    $esc.html($id.description) #end