emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wanrong Lin <wanrong.lin@gmail.com>
To: org-mode list <emacs-orgmode@gnu.org>
Subject: Blank lines in literal html
Date: Mon, 03 Dec 2007 14:06:59 -0500	[thread overview]
Message-ID: <475453D3.30604@gmail.com> (raw)

Hi,

Sometimes I use "htmlize" to  convert  a section of my buffer into html 
and then insert it into my org file with "#+BEGIN_HTML" and 
"#+END_HTML". One thing I noticed is the blank lines in the original 
text is "amplified". For example, I have a section like this in my org file:

#+BEGIN_HTML
<pre>
Line 1

Line 2 with a blank line in between
</pre>
#+END_HTML

When I export the above to a html file, there are actaully 3 blank lines 
between my "Line 1" and "Line 2".

Is the above a bug or I mis-configured something? Thank you very much.

Wanrong

             reply	other threads:[~2007-12-03 19:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-03 19:06 Wanrong Lin [this message]
2007-12-05 19:31 ` Blank lines in literal html Wanrong Lin
2007-12-09  1:07   ` Bastien
2007-12-09 23:08     ` Wanrong Lin
2007-12-10  0:26       ` Bastien
2007-12-10  1:57         ` Wanrong Lin
2007-12-10 14:33           ` Bastien
2007-12-17  8:57   ` Carsten Dominik
2007-12-18  3:00     ` Wanrong Lin

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=475453D3.30604@gmail.com \
    --to=wanrong.lin@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).