Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLink becomes turned off when running with HardLineBreak ext #688

Open
inliquid opened this issue Aug 15, 2021 · 0 comments
Open

AutoLink becomes turned off when running with HardLineBreak ext #688

inliquid opened this issue Aug 15, 2021 · 0 comments

Comments

@inliquid
Copy link

When I run blackfriday this way

b := blackfriday.Run([]byte(in))

which implicitly enables common extensions, AutoLink is also working and links such as

https://site.com

rendered as <a href=...>https://site.com</a>.
However when blackfriday is run with HardLineBreak and it's supposed that common extensions also enabled

b := blackfriday.Run([]byte(in), blackfriday.WithExtensions(blackfriday.HardLineBreak))

AutoLink doesn't work anymore and links are not rendered.

I didn't check whether other common extensions stop working or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant