[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Lots of \n in ox-html output
From: |
Thorsten Jolitz |
Subject: |
[O] Lots of \n in ox-html output |
Date: |
Thu, 26 Sep 2013 22:41:33 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
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
- [O] Lots of \n in ox-html output,
Thorsten Jolitz <=