textarea not working within WP2.5.1
-
Hi All,
I am using the below code to create a large text area to display a vbs script on my blog:
<textarea rows="9" name="S5" cols="60"> Set wshArguments = WScript.Arguments Set objUser = GetObject(wshArguments(0)) objuser.put "lockouttime","0" objuser.setinfo MsgBox "The user account has been unlocked for: " & vbCRLF _ & vbCRLF & objuser.cn, vbInformation, "Success" </textarea>The problem is that instead of the output looking like this once I preview the post:
Set wshArguments = WScript.Arguments
Set objUser = GetObject(wshArguments(0))objuser.put “lockouttime”,”0″
objuser.setinfoMsgBox “The user account has been unlocked for: ” & vbCRLF _
& vbCRLF & objuser.cn, vbInformation, “Success”The output actually within the textarea looks like this: (note the weird formatting at the end of each line)
Set wshArguments = WScript.Arguments
Set objUser = GetObject(wshArguments(0))</p>
<p> objuser.put “lockouttime”,”0″
objuser.setinfo</p>
<p>MsgBox “The user account has been unlocked for: ” & vbCRLF _
& vbCRLF & objuser.cn, vbInformation, “Success”Am I doing something wrong within the coding of the textarea, or is there something I should do special for WordPress to format this correctly? I am lost. Any help would be greatly appreciated. Thank you.
The topic ‘textarea not working within WP2.5.1’ is closed to new replies.