From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Export to html inserts strange unicode characters at line breaks because of fci-mode [8.2.7c (8.2.7c-64-g01f736-elpa @ /home/kmodi/.emacs.d/elpa/org-20140915/)] Date: Fri, 26 Sep 2014 12:02:14 +0200 Message-ID: <87ppeid7ix.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXSLZ-0007fJ-QP for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 06:02:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXSLQ-0007nf-Jb for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 06:01:53 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:54964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXSLQ-0007m6-EE for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 06:01:44 -0400 In-Reply-To: (Kaushal's message of "Thu, 25 Sep 2014 15:50:59 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kaushal Cc: emacs-orgmode@gnu.org Hello, Kaushal writes: > I have fci-mode installed and enabled for programming modes. > > When org exports to html, htmlize figures out the syntax highlighting of > the code by calling =(funcall lang-mode)=. > > That activates =fci-mode=. > > =fci-mode= shows the fill column using a unicode character. The issue is > that org export to html exports that character as well. > > Those characters show up in html as below! > http://i.imgur.com/8WplTqw.png > > So the solution is to fix the =orx-html-fontify-code= function. I don't think so. `fill-column-indicator' is not even in core Emacs. We shouldn't provide a workaround for every package out there. Can't you simply disable this minor mode before exporting buffer, in a hook such as `org-export-before-parsing-hook'? Regards, -- Nicolas Goaziou