Prettify details for MMC/SD.

This commit is contained in:
2019-11-16 01:52:17 +00:00
parent 32fc9750cb
commit 63648426a9
2 changed files with 83 additions and 30 deletions

View File

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