From murdoch.duncan at gmail.com  Thu Aug  5 22:03:11 2010
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Thu, 05 Aug 2010 16:03:11 -0400
Subject: [Rd] problem with dl tag in tools::Rd2HTML
In-Reply-To: <1281036337720-2315499.post@n4.nabble.com>
References: <1281036337720-2315499.post@n4.nabble.com>
Message-ID: <4C5B18FF.6070203@gmail.com>

On 05/08/2010 3:25 PM, Michael Lachmann wrote:
> I think tools::Rd2HTML has a problem with the dl tag.
> Under some conditions, <p> and </p>, and <dl> and </dl> are not nested
> correctly.
> Here is an example from the "options" doc file:
> --
> <p>
> <dl>
> <dt><code>save.defaults</code>, <code>save.image.defaults</code>:</dt><dd>
> see <code>save</code>.</dd>
> </p>
> --
> You can see that the <p> starts, then <dl> starts, then </p> end the
> paragraph, but the <dl> has not ended yet.
> I don't really understand in html, but I think the correct way would be
> --
> <dl>
> <p>
> <dt><code>save.defaults</code>, <code>save.image.defaults</code>:</dt><dd>
> see <code>save</code>.</dd>
> </p>
> --
>
> Michael
>   
What version are you using?  I don't see that in current R patched.

Duncan Murdoch



[Rd] problem with dl tag in tools::Rd2HTML
Duncan Murdoch