File tree Expand file tree Collapse file tree
src/NuGetGallery/Views/Packages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 256256
257257@* The following two helpers must be on a single line each so no extra whitespace is introduced in the expression when rendered. *@
258258@* Helpers themselves are needed not to introduce that extra whitespce, which happens if they are inlined. *@
259- @helper MakeLicenseLink(CompositeLicenseExpressionSegment segment) { <a href =" @LicenseExpressionRedirectUrlHelper.GetLicenseExpressionRedirectUrl(segment.Value)" aria-label =" License @segment.Value" >@segment.Value </a >}
260- @helper MakeLicenseSpan(CompositeLicenseExpressionSegment segment) { <span >@segment.Value </span >}
259+ @helper MakeLicenseLink(CompositeLicenseExpressionSegment segment) { <a href =" @LicenseExpressionRedirectUrlHelper.GetLicenseExpressionRedirectUrl(segment.Value)" aria-label =" License @segment.Value" >@segment.Value license </a >}
260+ @helper MakeLicenseSpan(CompositeLicenseExpressionSegment segment) { <span >@segment.Value license </span >}
261261
262262<section role =" main" class =" container main-container page-package-details" >
263263 <div class =" row" >
11071107 @MakeLicenseSpan (segment );
11081108 }
11091109 }
1110- @: license
11111110 }
11121111 else
11131112 {
You can’t perform that action at this time.
0 commit comments