mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-13 19:54:46 +00:00
Uses existing method to get escaped text for console
This commit is contained in:
@@ -141,7 +141,7 @@ namespace PepperDash.Core
|
||||
|
||||
public static string GetDebugText(string text)
|
||||
{
|
||||
return Regex.Replace(text, @"[^\u0000-\u007F]|\p{Cc}", a => string.Format("[{0:X2}]", (byte)a.Value[0]));
|
||||
return Regex.Replace(text, @"[^\u0000-\u007F]|\p{Cc}", a => GetEscapedText(a.Value));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user