all messages for Emacs-related lists mirrored at yhetil.org
 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

* Re: bug: superfluous <p> tags when exporting verse and quote blocks
  2008-12-07 18:35 bug: superfluous <p> tags when exporting verse and quote blocks Xerxes Folupa
@ 2008-12-07 20:17 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-12-07 20:17 UTC (permalink / raw)
  To: Xerxes Folupa; +Cc: emacs-orgmode

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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.