Emacs, scripting and anything text oriented.

Org-to-HTML and fill-column-indicator

Kaushal Modi

Lately I was having an issue in the org to html conversion where the newline characters got appended with funky unicode characters.

Full detail is in this reddit post I started.

The fix was to add 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))

Make sure you delete ox-html.elc else your patched ox-html.el won’t be effective.

     emacs , org , html

If you have written a response to this, enter your response post's URL below.

Or, you can send a "comment" webmention (it's OK if you don't know what that means). When asked about your website on an IndieAuth login screen, simply type https://commentpara.de.

Markdown Support**bold**, _italics_, ~~strikethrough~~, [descr](link), `monospace`, ```LANG\nline1\nline2\n``` (Yep, multi-line code blocks too, with syntax highlighting!), auto-hyperlinking.

Webmentions #