Subscribe Bookmark RSS Feed

Invalid HTML when including JSL script on discussion post

ih

Community Trekker

Joined:

Sep 30, 2016

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>

it becomes:

<pre>//Some Code print("hello");</pre>

with the attached error displayed indicating that invalid HTML was found in the message body.

Any idea what I might be doing wrong?

3 REPLIES
txnelson

Super User

Joined:

Jun 22, 2012

 
 

 

Jim
ih

Community Trekker

Joined:

Sep 30, 2016

Anyone else have this issue?

txnelson

Super User

Joined:

Jun 22, 2012

You need to enter this in the Community Matters feedback discussion.  It is a group on issues with the Discussion web environment

 

https://community.jmp.com/t5/Community-Matters/bd-p/community-discussion

Jim