Project

General

Profile

Actions

Feature #22843

closed

Change the value of "pre" button in Markdown toolbar from "~~~" to "```"

Added by Jean-Claude Wippler almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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.


Files


Related issues

Blocked by Redmine - Defect #25299: Markdown pre-block could derive incorrect wiki sectionsClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF