Project

General

Profile

Actions

Defect #29478

closed

Triple backtick does not work properly

Added by Kamil . over 6 years ago. Updated over 6 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When I have my Text formatting set to Markdown, I can use backticks like this
```
this will be displayed
just fine
```

But this syntax is also correct, despite it does not work in Redmine:
```this is
also fine```


Files

markdown.png (5.62 KB) markdown.png Kamil ., 2018-09-02 22:12
redmine.png (1.87 KB) redmine.png Kamil ., 2018-09-02 22:12
Actions #1

Updated by Marius BĂLTEANU over 6 years ago

  • Status changed from New to Needs feedback

According to which documentation are you saying that the below syntax is correct?

``` this is
also fine```

Actions #3

Updated by Go MAEDA over 6 years ago

I found the following sentence in https://spec.commonmark.org/0.28/#fenced-code-blocks.

If the end of the containing block (or document) is reached and no closing code fence has been found, the code block contains all of the lines after the opening code fence until the end of the containing block (or document).

In Redmine, the following expression works as described in the spec,

``` ruby
puts "Hello, world." 

but it does not work if a space character is contained in the "info string".

``` ruby ruby
puts "Hello, world." 
Actions #4

Updated by Marius BĂLTEANU over 6 years ago

I'm not sure how correct is to follow the documentation of Common mark because is not quite the same thing with Markdown.

Actions #5

Updated by Go MAEDA over 6 years ago

Marius BALTEANU wrote:

I'm not sure how correct is to follow the documentation of Common mark because is not quite the same thing with Markdown.

I agree. I don't think the reported problem is not a big problem which should be fixed.

Actions #6

Updated by Marius BĂLTEANU over 6 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

I'm closing this as invalid.

Actions

Also available in: Atom PDF