Decode SCSI INQUIRY in details.

This commit is contained in:
2019-11-17 18:19:38 +00:00
parent 018b343067
commit cfb3047bcc
2 changed files with 15 additions and 64 deletions

View File

@@ -17,5 +17,9 @@ namespace DiscImageChef.Server.Core
public static string EncodedMultiLineText(this IHtmlHelper<MmcSd> helper, string text) =>
string.IsNullOrEmpty(text) ? string.Empty
: Regex.Replace(helper.Encode(text), "&#xD;&#xA;|&#xA;|&#xD;", "<br/>");
public static string EncodedMultiLineText(this IHtmlHelper<Scsi> helper, string text) =>
string.IsNullOrEmpty(text) ? string.Empty
: Regex.Replace(helper.Encode(text), "&#xD;&#xA;|&#xA;|&#xD;", "<br/>");
}
}