We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I run htmlize-{buffer,file} on any of my files, the result has no syntax highlighting.
htmlize-{buffer,file}
Additionally, if I turn on debug-on-error I find the following
debug-on-error
Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("[\11\n]" nil 0) htmlize-untabify-string(nil 0) htmlize-extract-text(1 2 nil) ... htmlize-buffer-1() htmlize-region(1 1817) org-html-htmlize-region-for-paste(1 1817)
Here's an example output: colophon.zip
I use Emacs27.1 with Doom, which uses the latest version of Htmlize, and does not appear to modify the settings/behaviour.
The text was updated successfully, but these errors were encountered:
Thanks for the report. Here are some steps to debug the issue:
M-x htmlize-buffer RET
emacs -q
M-: (htmlize-buffer-substring-no-invisible 1 2) RET
Sorry, something went wrong.
Sorry for the delay, I'll try doing emacs -Q shortly.
emacs -Q
htmlize-file
(htmlize-buffer-substring-no-invisible 1 2)
"["
I am getting an output of non-formatted code after htmlize-file, while htmlize-buffer delivers the desired output with different text colours.
No branches or pull requests
If I run
htmlize-{buffer,file}
on any of my files, the result has no syntax highlighting.Additionally, if I turn on
debug-on-error
I find the followingHere's an example output: colophon.zip
I use Emacs27.1 with Doom, which uses the latest version of Htmlize, and does not appear to modify the settings/behaviour.
The text was updated successfully, but these errors were encountered: