emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] bug: superfluous <p> tags when exporting verse and quote b


From: Carsten Dominik
Subject: Re: [Orgmode] bug: superfluous <p> tags when exporting verse and quote blocks
Date: Sun, 7 Dec 2008 21:17:00 +0100

Hi Xerxes,

thanks for the report, I have both issues.

- Carsten

On Dec 7, 2008, at 7:35 PM, Xerxes Folupa wrote:

Hi,

I spotted a little inconsistency in the way Org strips tags when processing #+begin_verse ... #+end_verse, and #+begin_quote ... # +end_quote blocks, compared with other literal blocks that strip superfluous <p> tags correctly (e.g. #+html)

org-version: Org-mode version 6.14

emacs-version: GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)

As usual, it's easier to request a fix than to implement it yourself...

===

* Sample input:


#+begin_verse
one
two
#+end_verse

paragraph.

#+begin_quote
one. --author
#+end_quote

* Output:

<p>
<p class="verse">
one <br/>
two <br/>
</p>
</p>
<p>
paragraph.
</p>
<p>
<blockquote>
<p>
one. &ndash;author
</p>
</blockquote>
</p>

* Desired, 'valid xhtml' output:

<p class="verse">
one <br/>
two <br/>
</p>
<p>
paragraph.
</p>
<blockquote>
<p>
one. &ndash;author
</p>
</blockquote>

===

Additional question: is the space before the <br/> in verse blocks a design decision?

Cheers,
Xerxes



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]