Skip to content

gfm style line breaks break html badly #115

@midnightmonster

Description

@midnightmonster

With gfm line breaks enabled, code like this:

<table>
<tr><td>Hello</td></tr>
</table>

Will generate <br> tags at the end of each line, which creates invalid HTML and ugly rendering as the browser moves those extra line breaks somewhere.

github's actual github flavored markdown doesn't appear to have this unfortunate behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions