emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-html-head documentation mistake?


From: Adam Porter
Subject: [O] org-html-head documentation mistake?
Date: Sat, 13 Jan 2018 18:26:48 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi,

The docstring for org-html-head gives this example:

#+BEGIN_SRC html
<style type="text/css">
    <![CDATA[
    .timestamp, .timestamp-kwd { color: #268bd2 !important; }
    blockquote > p { color: #333333 !important; font-size: 95% !important; }
    ]]>
</style>
#+END_SRC

When I customized the variable, I used those "CDATA" lines exactly, but
they prevented the stylesheet I added from working in the browser
(Chrome in this case).  When I changed the "CDATA" lines to the ones
that are in org-html-style-default, it worked:

#+BEGIN_SRC html
<style type="text/css">
    <!--/*--><![CDATA[/*><!--*/
    .timestamp, .timestamp-kwd { color: #268bd2 !important; }
    blockquote > p { color: #333333 !important; font-size: 95% !important; }
    /*]]>*/-->
</style>
#+END_SRC

So I'm guessing that the docs need to be updated.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]