stable

Clone or download

Read-only

Wrap pre>code.language-mermaid in tlp-mermaid-diagram

By using same strategy than for tlp-syntax-highlighting, we do not need dedicated css for the custom element, nor dedicated mail notification management. (This reverts commit e68474772a745e62c7b109bcad9d2c5221c00df8) Part of request #19739: Add support of mermaid js diagrams Change-Id: I47b38fb269d203d3b308d53a7f54d12612bc040b

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php +2 −19 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +1 −19 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.php +1 −15 Go to diff View file
M src/common/Markdown/BlockRenderer/EnhancedCodeBlockRenderer.php +4 −9 Go to diff View file
M src/common/include/Codendi_HTMLPurifier.class.php +2 −2 Go to diff View file
M src/scripts/mermaid/__snapshots__/mermaid-diagram-element.test.ts.snap +5 −1 Go to diff View file
M src/scripts/mermaid/mermaid-diagram-element.test.ts +2 −2 Go to diff View file
M src/scripts/mermaid/mermaid-diagram-element.ts +7 −7 Go to diff View file
M src/themes/BurningParrot/css/includes/_mermaid.scss +0 −12 Go to diff View file
M src/themes/FlamingParrot/css/utils/_mermaid.scss +0 −17 Go to diff View file
M tests/unit/Tuleap/Markdown/BlockRenderer/EnhancedCodeBlockRendererTest.php +4 −4 Go to diff View file
M tests/unit/common/Include/Codendi_HTMLPurifierTest.php +12 −8 Go to diff View file