Support

 View Only

Jama editor strips formatting from imported data

  • 1.  Jama editor strips formatting from imported data

    Posted 01-04-2024 06:10

    Jama Connect 8.79.4

    Production environment

    We have some data that has been imported into Jama from a Word document. In the item view, we can see spaces between the words at the beginning of lines (specifically, the "AND" and "OR" lines):


    And in the jama database, we can see that these spaces are stored in HTML as empty spans with a fixed width. Example line:

    <p style="margin-left:80px"><span style="font-family:'Courier New'">AND</span><span style="width:13.98pt; display:inline-block"></span><span style="font-family:'Courier New'">[text]</span></p>

    However, when we try to edit the item for the first time after importing, the Jama editor seems to strip these spaces. Screenshot of the edit view:

    And when entering "source" mode in the editor, we can see that the spans mentioned above are gone:

    <p style="margin-left:80px"><span style="font-family:'Courier New'">AND</span><span style="font-family:'Courier New'">[text]</span></p>

    This is a rich text field. In the original document that was imported, these spaces are simply space characters (3 or 4 depending on the length of the first word; 3 for "AND", 4 for "OR", etc.).

    This seems to be an issue or quirk with the Jama editor. Is there any way to avoid this stripping of formatting? Thank you.



    ------------------------------
    Robert Paganetti
    Soliel
    ------------------------------