emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Lots of \n in ox-html output
Date: Thu, 26 Sep 2013 22:41:33 +0200	[thread overview]
Message-ID: <87txh7fh8i.fsf@gmail.com> (raw)


Hi List,

although I did not update recently, html-export of this test org-file
suddenly includes lots of \n in the html output.

,-----------------------------------------------------------------------
| * Org-mode Markup Syntax
|
| Org-mode Markup has a relatively simple syntax. Some of its most basic
| elements are listed below, for an in-debt coverage please consult the
| manuals.
|
| These and quite a lot other markup types are supported:
|
| # Levels 1 .. 8 are allowed
| ** Heading                #  Heading (level 3)
|
| Some /italic/ words mixed with *bold* words look nice, while
| _underlined_ text is a bit overkill sometimes. An unordered list like
|
| # Unordered list
|   - List item 1            #   List items
|   - List item 2
|
| or an ordered list like
|
| # Ordered list
|   1. List item 1            #  List items
|   2. List item 2
|
| look nice too.
|
| There is much more information available at the
| [[http://orgmode.org/][Orgmode]] website.
`-----------------------------------------------------------------------

here is an excerpt

,-------------------------------------------------------------------------
| <div id=\"table-of-contents\">\n<h2>Table of Contents</h2>\n<div
| id=\"text-table-of-contents\">\n<ul>\n<li><a href=\"#sec-1\">1. Org-mode
| Markup Syntax</a>\n<ul>\n<li><a href=\"#sec-1-1\">1.1. Heading # Heading
| (level 3)</a></li>\n</ul>\n</li>\n</ul>\n</div>\n</div>\n<div
| id=\"outline-container-sec-1\" class=\"outline-2\">\n<h2
|  [...]
| too.\n</p>\n\n<p>\nThere is much more information available at the <a
| href=\"http://orgmode.org/\">Orgmode</a> website.\n</p>\n\n<p>\nWhat
| happens to export - where do all the \\n come
| from?</p>\n</div>\n</div>\n</div>\n" <br/><br/>
`-------------------------------------------------------------------------

an it look ugly in the browser too:

,------------------------------------------------------------------------
|
| \n\n
| \nThese and quite a lot other markup types are supported:\n
|
| \n
| \n
| \n
| 1.1 Heading # Heading (level 3)
|
| \n
| \n
|
| \nSome italic words mixed with bold words look nice, while
| underlined\ntext is a bit overkill sometimes. An unordered list like\n
|
| \n\n
| \n
| List item 1 # List items\n
| \n
| List item 2\n
| \n
| \n\n
`------------------------------------------------------------------------

I actually do the export with emacs -Q and load only the necessary files
like ox-html.el.

Is this related to ox-html? Has somebody seen something like this
before? Any hints would be appreciated.

--
cheers,
Thorsten

             reply	other threads:[~2013-09-26 20:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26 20:41 Thorsten Jolitz [this message]
2013-09-27  8:07 ` Lots of \n in ox-html output Nicolas Goaziou
2013-09-27  9:29   ` Thorsten Jolitz
2013-09-27  9:55     ` Suvayu Ali
2013-09-27 12:27       ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txh7fh8i.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).