format license terms

This commit is contained in:
Shaun Walker 2021-08-06 15:28:48 -04:00
parent 04673a4804
commit 5a5535ea98
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@
<p style="height: 200px; overflow-y: scroll;"> <p style="height: 200px; overflow-y: scroll;">
@if (!string.IsNullOrEmpty(_license)) @if (!string.IsNullOrEmpty(_license))
{ {
@_license @((MarkupString)_license)
} }
else else
{ {
@ -174,7 +174,7 @@
if (package != null) if (package != null)
{ {
_productname = package.Name; _productname = package.Name;
_license = package.License; _license = package.License.Replace("\n", "<br />");
_packageid = package.PackageId; _packageid = package.PackageId;
_version = package.Version; _version = package.Version;
} }

View File

@ -74,7 +74,7 @@
<p style="height: 200px; overflow-y: scroll;"> <p style="height: 200px; overflow-y: scroll;">
@if (!string.IsNullOrEmpty(_license)) @if (!string.IsNullOrEmpty(_license))
{ {
@_license @((MarkupString)_license)
} }
else else
{ {
@ -175,7 +175,7 @@
if (package != null) if (package != null)
{ {
_productname = package.Name; _productname = package.Name;
_license = package.License; _license = package.License.Replace("\n", "<br />");
_packageid = package.PackageId; _packageid = package.PackageId;
_version = package.Version; _version = package.Version;
} }