[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Export to html inserts strange unicode characters at line b
From: |
Nicolas Goaziou |
Subject: |
Re: [O] 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 |
Hello,
Kaushal <address@hidden> 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