mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Show decoded MODE SENSE 2Ah in mmc details.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using DiscImageChef.CommonTypes.Metadata;
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
|
||||
namespace DiscImageChef.Server.Core
|
||||
@@ -8,5 +9,9 @@ namespace DiscImageChef.Server.Core
|
||||
public static string EncodedMultiLineText(this IHtmlHelper<CommonTypes.Metadata.Ata> helper, string text) =>
|
||||
string.IsNullOrEmpty(text) ? string.Empty
|
||||
: Regex.Replace(helper.Encode(text), "
|
|
", "<br/>");
|
||||
|
||||
public static string EncodedMultiLineText(this IHtmlHelper<Mmc> helper, string text) =>
|
||||
string.IsNullOrEmpty(text) ? string.Empty
|
||||
: Regex.Replace(helper.Encode(text), "
|
|
", "<br/>");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user