emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [org-e-html] New HTML exporter has an extra blank line in pre sections
@ 2012-06-05 16:48 Bernt Hansen
  2012-06-09 12:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2012-06-05 16:48 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Jambunathan K.

Hi,

I noticed that the new exporter has one extra blank line in the output
of source and example blocks while the old exporter does not.

Regards,
Bernt

--8<---------------cut here---------------end--------------->8---
* Test export

#+begin_src sql
  SELECT * FROM some_table
#+end_src

#+begin_example
  Example text goes here
#+end_example
--8<---------------cut here---------------end--------------->8---

,----[ old exporter output ]
| <pre class="src src-sql"><span class="org-keyword">SELECT</span> * <span class="org-keyword">FROM</span> some_table
| </pre>
| 
| ...
| 
| <pre class="example">Example text goes here
| </pre>
`----
* new exporter
[2012-06-05 Tue 12:41]

,----[ new exporter ]
| <pre class="src src-sql"><span style="color: #a020f0;">SELECT</span> * <span style="color: #a020f0;">FROM</span> some_table
| 
| </pre>
| 
| ...
| 
| <pre class="example">
| Example text goes here
| 
| </pre>
`----

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

* Re: [org-e-html] New HTML exporter has an extra blank line in pre sections
  2012-06-05 16:48 [org-e-html] New HTML exporter has an extra blank line in pre sections Bernt Hansen
@ 2012-06-09 12:13 ` Nicolas Goaziou
  2012-06-09 15:10   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2012-06-09 12:13 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode, Jambunathan K.

Hello,

Bernt Hansen <bernt@norang.ca> writes:

> I noticed that the new exporter has one extra blank line in the output
> of source and example blocks while the old exporter does not.

I removed a couple of newline characters in org-e-html.el. The problem
should be fixed. Could you confirm this?


Regards,

-- 
Nicolas Goaziou

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

* Re: [org-e-html] New HTML exporter has an extra blank line in pre sections
  2012-06-09 12:13 ` Nicolas Goaziou
@ 2012-06-09 15:10   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2012-06-09 15:10 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode, Jambunathan K.

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Bernt Hansen <bernt@norang.ca> writes:
>
>> I noticed that the new exporter has one extra blank line in the output
>> of source and example blocks while the old exporter does not.
>
> I removed a couple of newline characters in org-e-html.el. The problem
> should be fixed. Could you confirm this?

Hi Nicolas,

This fix works.

Thanks!

Regards,
Bernt

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

end of thread, other threads:[~2012-06-09 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-05 16:48 [org-e-html] New HTML exporter has an extra blank line in pre sections Bernt Hansen
2012-06-09 12:13 ` Nicolas Goaziou
2012-06-09 15:10   ` Bernt Hansen

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