Post preview not accurate
-
Just noticed that my submission to the latest coding challenge got mangled a bit (here[^]) After some fiddling, I found it's related to the "Best Guess" option available while pasting. Best guess seems to avoid encoding HTML characters (for reasons unbeknownst to me,) which obviously leads to quirkiness when pasting C# code using generics. Unfortunately, the post preview doesn't actually match what ends up being posted in these cases. Pasted with "Encode HTML" option:
private List<Tuple<string, string>> testStrings = new List<Tuple<string,string>>()
Pasted with "Best Guess" option:
private List> testStrings = new List>()
Both of those code blocks look the same in the preview, but as you can see, the end result is definitely not. Well, make a liar out of me... I don't know how it got the way it is. What you see in my submission is not what my code looks like in Visual Studio, but I can't reproduce the outcome...