VB CODE Tags - Code is in one line?
I was entering some sample code for a user in the vb.net forum
this code:
Code:
Option Strict On ' Optional
Option Explicit On ' Optional
Imports System.Runtime.InteropServices
<ComClass(InterfaceShadows:=True)> _
Public Class TestClass
Public Function Test() As String
Return "Test"
End Function
End Class
it appears like :
visual basic code: Option Strict On ' Optional Option Explicit On ' Optional Imports System.Runtime.InteropServices <ComClass(InterfaceShadows:=True)> _ Public Class TestClass Public Function Test() As String Return "Test" End Function End Class
it also then appears like this in the code editor (after editing or previewing the post):
Re: VB CODE Tags - Code is in one line?
I think there is a bug in the WYSIWYG editior. You need to turn it off if you use the VBCode tags.
Re: VB CODE Tags - Code is in one line?
Yes, the WYSIWYG editor currently has an issue with the VBCode tag. The Standard and Basic editors do not. You can change your editor in the User CP options.
Brad!