stable

Clone or download

Read-only

Add support for code snippets

<code> and <pre> tags are now managed. Since there is no way in OOXML document to tell "use your default monospace font whatever it is", the font is hardcoded to the widely available 'Courrier New' font. Part of story #22569: export `text` fields Change-Id: I12c71d130db88cb0206a8e9dc0d2a1f0002035fc

Modified Files

Name
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-html-into-paragraphs.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-html-into-paragraphs.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-large-content-into-paragraphs.test.ts Go to diff View file
R plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/transform-large-content-into-paragraphs.ts Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-text-with-newlines.test.ts +32 −0 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-text-with-newlines.ts +31 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +2 −2 Go to diff View file