From 2185fe0f4cfd9ee279219ab6e203cba93ab77176 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Mon, 20 May 2013 17:00:21 -0400 Subject: [PATCH] fixed typo that prevented some information from being displayed Former-commit-id: 59c9c97fb478d52782afad114a0257fc045e3090 --- src/main/resources/templates/HtmlReport.vsl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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