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

Do not highlight syntax in source block if no language is set #514

Closed
xcoulon opened this issue Mar 21, 2020 · 0 comments · Fixed by #515
Closed

Do not highlight syntax in source block if no language is set #514

xcoulon opened this issue Mar 21, 2020 · 0 comments · Fixed by #515
Assignees
Milestone

Comments

@xcoulon
Copy link
Member

xcoulon commented Mar 21, 2020

This results in a runtime error:

runtime error: invalid memory address or nil pointer dereference
 github.com/alecthomas/chroma.(*coalescer).Tokenise(0xc000420030, 0x0, 0xc000186230, 0x3, 0x1e3a260, 0x0, 0x0)
        .../go/pkg/mod/github.com/alecthomas/[email protected]/coalesce.go:10 +0x47
@xcoulon xcoulon self-assigned this Mar 21, 2020
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Mar 21, 2020
xcoulon added a commit that referenced this issue Mar 21, 2020
@xcoulon xcoulon added this to the v0.4.0 milestone Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant