* org-html-head documentation mistake?
@ 2018-01-14 0:26 Adam Porter
2018-01-15 15:40 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Adam Porter @ 2018-01-14 0:26 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-15 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-14 0:26 org-html-head documentation mistake? Adam Porter
2018-01-15 15:40 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.