Problem Highlighting VB.Net code...

Topics: Themes
Nov 15, 2007 at 11:08 PM
Edited Nov 15, 2007 at 11:11 PM
I am having trouble with the new code highlighting in VB.net. The C# highlighting works fine with the "code:c" tag. When I use "code:vb", however, it only partially works. The code is shown in a box with a different color background, but it does not parse the html out. For example, I see:

[code:vb]public class Foo<br />end class[/code]

I can't find any documentation on this so I've just been experimenting. I've tried a couple of different themes (Standard and Dirtylicious) but that didn't help. I've also tried other code tags...instead of "vb", I've tried "VB", "vb.net", "VB.Net", etc.

Anyone know how to fix this or have any other ideas?

Thanks,
David
Coordinator
Nov 16, 2007 at 3:28 AM
Not a documentation, but you might want to take a look: http://rtur.net/blog/post/2007/11/Insert-Code---your-options.aspx

It is a code:vb, switch to HTML view and make sure first and last brackets does not run into nbsp; or whatever "invisible" HTML character, sometimes it causes a problem.