Skip to content

Double space on end of line is not always translated to <br> #14

Open
@mnn

Description

@mnn

Input (2 spaces after colon on a first line):

**Type parameters**:  
`U`: `any` Output [GGArray](#GGArray) item type

is rendered in a browser as:

<p><strong>Type parameters</strong>:  
<code>U</code>: <code>any</code> Output <a href="#GGArray">GGArray</a> item type</p>

It looks to me like those 2 spaces are outputted verbatim.

2020-06-07_09-29

On the project docs is mentioned that CommonMark is supported, I think this is the relevant part: https://spec.commonmark.org/0.29/#example-630

Interestingly, in some other cases it does work:

**Parameters**:   
`f`: `FuncLike<T, U>` Mapping function  
`ctx`: `any` Context for function

Second hard line break is translated to <br>:
2020-06-07_09-32

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingminorThis is a minor issue.pending on external librarythis issue is pending on another issue/PR of an external library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions