<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us"><generator uri="https://gohugo.io/" version="0.101.0">Hugo</generator><title type="html">html on A Scripter's Notes</title><subtitle type="html">Emacs, scripting and anything text oriented.</subtitle><link href="https://scripter.co/categories/html/" rel="alternate" type="text/html" title="HTML"/><link href="https://scripter.co/categories/html/index.xml" rel="alternate" type="application/rss+xml" title="RSS"/><link href="https://scripter.co/categories/html/atom.xml" rel="self" type="application/atom+xml" title="Atom"/><link href="https://scripter.co/categories/html/jf2feed.json" rel="alternate" type="application/jf2feed+json" title="jf2feed"/><updated>2026-04-22T08:24:57-04:00</updated><author><name>Kaushal Modi</name><email>kaushal.modi@gmail.com</email></author><id>https://scripter.co/categories/html/</id><entry><title type="html">Org-to-HTML and fill-column-indicator</title><link href="https://scripter.co/org-to-html-and-fill-column-indicator/?utm_source=atom_feed" rel="alternate" type="text/html"/><id>https://scripter.co/org-to-html-and-fill-column-indicator/</id><published>2014-07-21T13:06:09-04:00</published><updated>2014-07-21T13:06:09-04:00</updated><content type="html"><![CDATA[<p>Lately I was having an issue in the org to html conversion where the newline
characters got appended with funky unicode characters.</p>
<p>Full detail is in <a href="https://www.reddit.com/r/emacs/comments/2b5x5g/funny_characters_appended_at_new_line_to_source/">this</a> reddit post I started.</p>
<p>The fix was to add the following code after the line <code>(funcall lang-mode)</code> in
the <code>org-html-fontify-code</code> defun in <code>ox-html.el</code>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-elisp" data-lang="elisp"><span class="line"><span class="cl"><span class="p">(</span><span class="nb">when</span> <span class="p">(</span><span class="nb">require</span> <span class="ss">&#39;fill-column-indicator</span> <span class="no">nil</span> <span class="ss">&#39;noerror</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">    <span class="p">(</span><span class="nv">fci-mode</span> <span class="mi">-1</span><span class="p">))</span>
</span></span></code></pre></div><p><em>Make sure you delete ox-html.elc else your patched ox-html.el won&rsquo;t be effective.</em></p>]]></content><category scheme="https://scripter.co/categories/emacs" term="emacs" label="emacs"/><category scheme="https://scripter.co/categories/org" term="org" label="org"/><category scheme="https://scripter.co/categories/html" term="html" label="html"/></entry></feed>