2302362 - Source Code for wiki or blogs not saving completely - SAP Jam

SAP Knowledge Base Article - Public

2302362 - Source Code for wiki or blogs not saving completely - SAP Jam

Symptom

  • Part of the source code in my wiki/blog stripped off.
  • Wiki/blog not saving entire source code.

Environment

SAP Jam

Reproducing the Issue

  1. Create a Wiki page in Jam.
  2. Click the Source Code Widget.
  3. Copy a code as code 1.
  4. Save the source code page.
  5. Open the source code page.
  6. You will find most of code is not present. All that remains is code 2.

Code 1:
--------

<html>
<body>
<script language="javascript"> 

//some script


</script>

<h1>Something</h1>
</body>
</html>

Code 2:
--------

<h1>Something</h1>

Cause

For security reasons, no <script> tags are allowed within source code of wikis or blogs. So if any source code has a <script> tag, it is automatically stripped off.

Resolution

Modify your source code to exclude any <script> tags.

Keywords

KBA , LOD-SF-JAM , SAP Jam , Problem

Product

SAP Jam Collaboration all versions