|
From: | Roland Kaufmann |
Subject: | [Orgmode] Re: [PATCH] Markup on same line as text |
Date: | Sat, 19 Feb 2011 15:26:54 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |