Rendering multiple paragraphs in a single cell in HTML table using docxHtml (DOCX recipe)



  • On my website I have a rich text editor (tip-tap component) that allows to format text and also add tables. As the output I'm saving html content and then rendering it using docxHtml helper in my template. The problem happends when a single cell contains several paragraphs (by pressing "Enter" while adding text). In such case all paragraphs after the first one are rendered out of the table.

    It looks like this in tiptap:
    0_1711145415076_upload-aa8a7151-59c2-4ea3-8f90-97e0523a5e0f

    Html content:
    0_1711145614849_upload-e8bdaeaf-9958-4c63-84a2-dbe12af994fb

    And in rendered report:
    0_1711145752652_upload-15fe44ae-daf8-4719-ae64-68e30de1e4d4

    Can you help me fix it please?


  • administrators

    thanks, we will check


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.