From lachmann at eva.mpg.de  Thu Aug  5 21:25:37 2010
From: lachmann at eva.mpg.de (Michael Lachmann)
Date: Thu, 5 Aug 2010 12:25:37 -0700 (PDT)
Subject: [Rd] problem with dl tag in tools::Rd2HTML
Message-ID: <1281036337720-2315499.post@n4.nabble.com>


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
-- 
View this message in context: http://r.789695.n4.nabble.com/problem-with-dl-tag-in-tools-Rd2HTML-tp2315499p2315499.html
Sent from the R devel mailing list archive at Nabble.com.



[Rd] problem with dl tag in tools::Rd2HTML
Michael Lachmann