crayon
crayon copied to clipboard
NullReferenceException if string is null
I observed a NullReferenceException when we tried to colorize a string which was null.
This was tracked to the following code:
https://github.com/riezebosch/crayon/blob/master/Crayon/StringExtensions.cs
Maybe add a null-check there?