I must be missing something here: when I try to include jsl script in a discussion post, the CODE tags are removed after clicking "Post" or "PREVIEW", but the PRE tags are left intact. I tried Chrome and Internet Explorer on two different computers, granted both are in the same domain with the same policies.
If I copy and paste this to the html view and click preview:
<pre><code class=" language-jsl">//Some Code print("hello");</code></pre>
<pre>//Some Code print("hello");</pre>
with the error below displayed indicating that invalid HTML was found in the message body.
Any idea how I can rectify this?
Something similar happens to me, sometimes, when I try to insert JSL and the JSL coloring is lost. At least I think that's what happened. The icon with the wind-up key is for JSL scripts.
New Window( "first program", Text Box( "Hello, world!" ) )
The syntax coloring does not happen during editing. I hope it is there after I post!
Trying this from yet another computer (not in a domain). Same error when I click post and the code is black and white in the preview..
//Some JSL Code a = 2;