stable

Clone or download

Read-only

Replace the concept of CustomBlockRenderer by an extension

They both serve the same goal (extending the capabilities of the CommonMark interpreter) so having only one concept is probably preferable. Using the extension concept is probably to be less confusing for a developer looking at the documentation of the league/commonmark package. No functional changes. Part of request #19739: Add support of mermaid js diagrams Change-Id: I99661e076cb8a6bf2449e7730bdfe69cd2f8246c

Modified Files

Name
M plugins/git/include/GitPHP/controller/Controller_Blob.php +3 −2 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Tree.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +3 −2 Go to diff View file
M src/common/Markdown/CommonMarkInterpreter.php +0 −30 Go to diff View file
D src/common/Markdown/CustomBlockRenderer.php +0 −53 Go to diff View file
A src/common/Markdown/EnhancedCodeBlockExtension.php +47 −0 Go to diff View file
M src/common/Widget/Note/ProjectNote.php +3 −2 Go to diff View file
A tests/unit/common/Markdown/EnhancedCodeBlockExtensionTest.php +56 −0 Go to diff View file