htmlize doesn't operate on the level of syntax-based fontification, it
examines the display-related properties attached to buffer text (not
necessarily by font-lock) and renders them into the corresponding HTML.
Good point.
And, as you point out, it is probably better to deal with the problem by
removing the formatting on the newlines (probably right after
font-lock-fontify-buffer in org-export-format-source-code-or-example) in
the temporary buffer that is htmlize'd, reducing the chance of any
unintended consequences.
I'll try this approach and see how it turns out (i.e. proposal for
change in htmlize dropped). Thank you for the feedback!
--
Roland.
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode