Blog Code Formatting Test

Quick test post – I’ve spotted a problem with blog code formatting for examples such as;

static void Main()
{
    int[] array = new int[10];
    int i = 5;
    int value = array[i];
}

which my code formatter appears to put out as;

static void Main()
{
	int[] array = new int[10];
	int i = 5;
	int value = array[i];
}

and an emoticon appears to pop up instead of array[i] – ho hum, looks like it’s time to go around the loop again on “how to get code formatting to work on the website”. It looks fine in Live Writer but not when published.

Update – this looks to be Community Server’s “emoticon filter”, attempting to change…