<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>html on
A Scripter's Notes</title><link>https://scripter.co/categories/html/</link><description>Recent content in html
on A Scripter's Notes</description><language>en-us</language><managingEditor>kaushal.modi@gmail.com (Kaushal Modi)</managingEditor><webMaster>kaushal.modi@gmail.com (Kaushal Modi)</webMaster><lastBuildDate>Wed, 22 Apr 2026 08:24:58 -0400</lastBuildDate><generator>Hugo -- gohugo.io</generator><docs>https://validator.w3.org/feed/docs/rss2.html</docs><atom:link href="https://scripter.co/categories/html/index.xml" rel="self" type="application/rss+xml"/><item><title>Org-to-HTML and fill-column-indicator</title><link>https://scripter.co/org-to-html-and-fill-column-indicator/</link><description>&lt;p>Lately I was having an issue in the org to html conversion where the newline
characters got appended with funky unicode characters.&lt;/p>
&lt;p>Full detail is in &lt;a href="https://www.reddit.com/r/emacs/comments/2b5x5g/funny_characters_appended_at_new_line_to_source/">this&lt;/a> reddit post I started.&lt;/p>
&lt;p>The fix was to add the following code after the line &lt;code>(funcall lang-mode)&lt;/code> in
the &lt;code>org-html-fontify-code&lt;/code> defun in &lt;code>ox-html.el&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-elisp" data-lang="elisp">&lt;span class="line">&lt;span class="cl">&lt;span class="p">(&lt;/span>&lt;span class="nb">when&lt;/span> &lt;span class="p">(&lt;/span>&lt;span class="nb">require&lt;/span> &lt;span class="ss">&amp;#39;fill-column-indicator&lt;/span> &lt;span class="no">nil&lt;/span> &lt;span class="ss">&amp;#39;noerror&lt;/span>&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">(&lt;/span>&lt;span class="nv">fci-mode&lt;/span> &lt;span class="mi">-1&lt;/span>&lt;span class="p">))&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;em>Make sure you delete ox-html.elc else your patched ox-html.el won&amp;rsquo;t be effective.&lt;/em>&lt;/p></description><category domain="https://scripter.co/categories/emacs">emacs</category><category domain="https://scripter.co/categories/org">org</category><category domain="https://scripter.co/categories/html">html</category><guid>https://scripter.co/org-to-html-and-fill-column-indicator/</guid><pubDate>Mon, 21 Jul 2014 13:06:09 -0400</pubDate></item></channel></rss>