Defect #29478
closed
Triple backtick does not work properly
Added by Kamil . over 6 years ago.
Updated over 6 years ago.
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
- Status changed from New to Needs feedback
According to which documentation are you saying that the below syntax is correct?
``` this is
also fine```
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."
I'm not sure how correct is to follow the documentation of Common mark because is not quite the same thing with Markdown.
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.
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
I'm closing this as invalid.
Also available in: Atom
PDF