emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Strange newline characters in org-export-as-html


From: Grant Rettke
Subject: Re: [O] Strange newline characters in org-export-as-html
Date: Sun, 9 Mar 2014 23:21:46 -0500

This is the simplest example:

#+BEGIN_SRC emacs-lisp
(message "Hello, world.")
#+END_SRC

On Sun, Mar 9, 2014 at 11:09 PM, Grant Rettke <address@hidden> wrote:
> Hi,
>
> Org version 7.9.3f with Emacs version 24. Running org-export-as-html.
> Have these options:
>
> #+TITLE: Creation and conservation of computer files (C3F)
> #+AUTHOR: Grant Rettke
> #+EMAIL: address@hidden
> #+DESCRIPTION: A literate programming style exposition of my Emacs 
> configuration
> #+KEYWORDS: Literate Programming, Reproducible Research, Programming
> Language, Lisp, Elisp, IDE, Emacs, Babel, org-mode
> #+LANGUAGE: en
>
> Just noticed tonight that in my exported source blocks, mostly
> emacs-lisp, wherever there is a newline in the code, I get the
> following
> sequence exported for example this:
>
>   (setq auto-mode-alist
>         (append
>          '(("\\.scm\\'" . scheme-mode)
>
> becomes
>
> <pre class="src src-emacs-lisp">(setq auto-mode-alist&#57344;&#57345;&#57345;
>       (append&#57344;&#57345;&#57345;
>        '((<span style="color: #2aa198;">"\\.scm\\'"</span> .
> scheme-mode)&#57344;&#57345;&#57345;
>
> which looks like this
>
> Auto Modes 83
> (setq auto-mode-alist
>       (append
>        '(("\\.scm\\'" . scheme-mode)
>          ("\\.rkt\\'" . scheme-mode)
>
> In a web browser, those block line things are not what I expect.
>
> Thoughts:
> 1. My org document is using unicode symbols. Perhaps this is a bad thing.
> 2. I have wrong export as html settings.
> 3. I'm missing something.
>
> Thoughts?
>
> Regards,
>
> --
> Grant Rettke | ACM, AMA, COG, IEEE
> address@hidden | http://www.wisdomandwonder.com/
> “Wisdom begins in wonder.” --Socrates
> ((λ (x) (x x)) (λ (x) (x x)))
> “Life has become immeasurably better since I have been forced to stop
> taking it seriously.” --Thompson



-- 
Grant Rettke | ACM, AMA, COG, IEEE
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson



reply via email to

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