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

jazzy_markdown.rb:74:in `escapeHTML': no implicit conversion of nil into String (TypeError) #1270

Closed
Wei18 opened this issue Aug 3, 2021 · 2 comments · Fixed by #1271
Closed
Labels

Comments

@Wei18
Copy link

Wei18 commented Aug 3, 2021

Traceback (most recent call last):
	20: from /Users/zw/.gem/bin//jazzy:23:in `<main>'
	19: from /Users/zw/.gem/bin//jazzy:23:in `load'
	18: from /Users/zw/.gem/gems/jazzy-0.13.7/bin/jazzy:15:in `<top (required)>'
	17: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/doc_builder.rb:85:in `build'
	16: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/doc_builder.rb:153:in `build_docs_for_sourcekitten_output'
	15: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:1005:in `parse'
	14: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:530:in `make_source_declarations'
	13: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:530:in `each'
	12: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:532:in `block in make_source_declarations'
	11: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:530:in `make_source_declarations'
	10: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:530:in `each'
	 9: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:586:in `block in make_source_declarations'
	 8: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:519:in `make_substructure'
	 7: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:530:in `make_source_declarations'
	 6: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:530:in `each'
	 5: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:585:in `block in make_source_declarations'
	 4: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/sourcekitten.rb:369:in `make_doc_info'
	 3: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/jazzy_markdown.rb:231:in `render'
	 2: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/jazzy_markdown.rb:231:in `render'
	 1: from /Users/zw/.gem/gems/jazzy-0.13.7/lib/jazzy/jazzy_markdown.rb:74:in `codespan'
@Wei18
Copy link
Author

Wei18 commented Aug 3, 2021

The cause the issue.

\\\ ` `(Space) also.

@johnfairh johnfairh added the bug label Aug 3, 2021
@johnfairh
Copy link
Collaborator

Thanks - looks like a bug in the KaTeX support, unexpectedly getting a nil from redcarpet...

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

Successfully merging a pull request may close this issue.

2 participants