Skip to content

Tables not rendering after upgrade to 2.0.0 #394

@onlyafly

Description

@onlyafly

I upgraded my project from blackfriday 1.5.0 to 2.0.0, but when I run it on the following markdown, the table fails to render now:

| Column A | Column B |
| --------- | --------- |
| A1 | B1 |
| A2 | B2 |

This is how I am calling blackfriday in 2.0.0:

content := blackfriday.Run(
    []byte(input),
    blackfriday.WithExtensions(blackfriday.CommonExtensions|blackfriday.HardLineBreak|blackfriday.AutoHeadingIDs|blackfriday.Autolink),
)

Am I using the wrong options?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions