emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Lots of \n in ox-html output
@ 2013-09-26 20:41 Thorsten Jolitz
  2013-09-27  8:07 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2013-09-26 20:41 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-27 12:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 20:41 Lots of \n in ox-html output Thorsten Jolitz
2013-09-27  8:07 ` Nicolas Goaziou
2013-09-27  9:29   ` Thorsten Jolitz
2013-09-27  9:55     ` Suvayu Ali
2013-09-27 12:27       ` Thorsten Jolitz

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).