Defect #22843

Markdown code blocks not inserted properly

Added by Jean-Claude Wippler over 1 year ago. Updated over 1 year ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Text formatting
Target version:-
Resolution: Affected version:3.2.0


When using the pre button in the web editor to insert a pre-formatted code block for a project which uses Markdown formatting, the lines inserted contain "~~~", which does not work in Markdown. It should insert lines "```" instead (possibly also preceded and followed by an empty line, not sure).

Very easy to reproduce: in a Markdown project, add an entry, press the "pre" button, click on "Preview". The resulting page shows "~~~" instead of a proper code block.


#1 Updated by Go MAEDA over 1 year ago

'~~~' is also correct Markdown and works as expected on my environment.

Also available in: Atom PDF