[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Setting HTML_INCLUDE_STYLE: nil doesn't work [8.0.3 (8.0.3-
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Setting HTML_INCLUDE_STYLE: nil doesn't work [8.0.3 (8.0.3-32-g0c789f-elpa @ /home/aj/.emacs.d/elpa/org-20130617/)] |
Date: |
Fri, 21 Jun 2013 19:29:42 +0200 |
Hello,
Anders Johansson <address@hidden> writes:
> I put:
> #+HTML_INCLUDE_STYLE: nil
> at the top of my org-file and expect the exported html file to not
> include the standard styles in it's header (documentation section
> "12.6.9 CSS support").
> This does not work and the styles are included as usual.
>
> A quick debugging with edebug reveals that nil is interpreted as
> a string, "nil", in the info-plist and therefore evaluates as true in
> the check in org-html--build-head:
>
> (when (plist-get info :html-head-include-default-style)
> (org-element-normalize-string org-html-style-default))
>
> (from: ox-html.el:1448)
Thank you for the report. This should be fixed on master branch: use
#+OPTIONS: html-style:nil
Regards,
--
Nicolas Goaziou