emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Request to patch the =org-html-fontify-code= function in =ox-html.el


From: Kaushal
Subject: [O] Request to patch the =org-html-fontify-code= function in =ox-html.el=
Date: Sun, 20 Jul 2014 10:55:40 -0400

Hi,

I have been using org for technical documentation and that involves inserted code snippets.  The org to pdf export works great but I faced issues when exporting to html.

After some digging around, I figured that having fci-mode enabled on a LANG-mode-hook caused insertion of some strange unicode characters in the html converted version.

Full details are in my reddit post here: http://www.reddit.com/r/emacs/comments/2b5x5g/funny_characters_appended_at_new_line_to_source/

To fix this problem by adding the following code after the line (funcall lang-mode) in the org-html-fontify-code defun in ox-html.el.
(when (require 'fill-column-indicator nil 'noerror)
    (fci-mode -1))

Can this fix be integrated into ox-html.el? 


Thanks.


--
Kaushal Modi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]