emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: superfluous <p> tags when exporting verse and quote blocks
@ 2008-12-07 18:35 Xerxes Folupa
  2008-12-07 20:17 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Xerxes Folupa @ 2008-12-07 18:35 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2008-12-07 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 18:35 bug: superfluous <p> tags when exporting verse and quote blocks Xerxes Folupa
2008-12-07 20:17 ` Carsten Dominik

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