stable

Clone or download

Read-only

Text fields in HTML/CommonMark format are added to the document as plaintext

As a first step, the HTML content is stripped to only keep the text content. Future contributions will progressively improve the conversion process to loose less information. Part of story #22569: export `text` fields Change-Id: I545a6f94ef3bb2725122a7f5b7221c758bc809e8

Modified Files

Name
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.test.ts +7 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.ts +2 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.test.ts +3 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +25 −9 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-html-into-paragraph.test.ts +29 −0 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-html-into-paragraph.ts +29 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-large-content-into-paragraph.test.ts +24 −39 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-large-content-into-paragraph.ts +8 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +1 −0 Go to diff View file