mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Escape print-hex output.
This commit is contained in:
@@ -191,9 +191,9 @@ sealed class PrintHexCommand : Command<PrintHexCommand.Settings>
|
||||
|
||||
if(errno == ErrorNumber.NoError)
|
||||
{
|
||||
AaruLogging.WriteLine(Markup.Escape(PrintHex.ByteArrayToHexArrayString(sector,
|
||||
settings.Width,
|
||||
true)));
|
||||
AaruLogging.WriteLine(Markup.Escape(PrintHex.ByteArrayToHexArrayString(sector, settings.Width, true)
|
||||
.Replace("{", "{{")
|
||||
.Replace("}", "}}")));
|
||||
}
|
||||
else
|
||||
AaruLogging.Error(string.Format(UI.Error_0_reading_sector_1, errno, settings.Start + i));
|
||||
|
||||
Reference in New Issue
Block a user