Formatting VB code on

Topics: Business Logic Layer
Oct 8, 2009 at 9:10 AM

Hi All,

I am having trouble formatting my VB code block on a blog entry using the [code:vb] tag

The HTML on the blog is:

<p>First you need an event handler</p>
Private Sub ContextMenuHandler_Click(ByVal sender As Object, ByVal e As System.EventArgs)<br />
    ' Do something when the user clicks on a node<br />
    ' Use the sender.tag to determine which menu item was clicked<br />
End Sub

The result I get is here:

What am I missing ?

Alternatively - are there any other ideas for entering code blocks (e.g. like the one codeplex uses ?) - I'd prefer something actually installed on my site rather than a link to an external service ?




Oct 8, 2009 at 2:47 PM

You should be able to fix it as described here. I'll make sure this fix is in the next build.


Oct 14, 2009 at 9:01 AM

Thanks RTUR - this has fixed it

(It was line 108 though in my version)

Many Thanks