Doc #66316 [Opn]: HTML is malformed

From: Date: Sun, 29 Dec 2013 12:03:59 +0000
Subject: Doc #66316 [Opn]: HTML is malformed
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10754@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66316&edit=1 ID: 66316 Updated by: salathe@php.net Reported by: ivan dot enderlin at hoa-project dot net -Summary: HTML is malformed (dt, dd, +Summary: HTML is malformed Status: Open Type: Documentation Problem -Package: Documentation problem +Package: Doc Build problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The cited example (dd within dt) should be a small, simple fix in phd. However, there is a wider problem of "malformed" HTML markup being generated; for example we wrap many, many block-level elements in <p> tags because we use lots of <para> in DocBook. An example of this is surrounding the <dl> cited in the bug report. Previous Comments: ------------------------------------------------------------------------ [2013-12-18 12:04:18] ivan dot enderlin at hoa-project dot net Description: ------------ The HTML markup is not well-formed. For example, on the page http://http://php.net/reserved.constants#constant.php-version-id, in the list of constants, we open a dt, we open a dd, we close a dd, and we close the dt. The dt closing tags are not in the right place, they should be place before the dd opening tag. Expected result: ---------------- <dt id="constant.php-version-id"> <span class="term"> <strong><code>PHP_VERSION_ID</code></strong> (<a href="language.types.integer.php" class="link">entier</a>) </span> </dt> <dd> <span class="simpara"> La version courante de PHP sous la forme d&#039;un entier, utile pour la comparaison de versions (i.e., int(50207) depuis la version &quot;5.2.7-extra&quot;). Disponible depuis PHP 5.2.7. </span> </dd> Actual result: -------------- <dt id="constant.php-version-id"> <span class="term"> <strong><code>PHP_VERSION_ID</code></strong> (<a href="language.types.integer.php" class="link">entier</a>) </span> <dd> <span class="simpara"> La version courante de PHP sous la forme d&#039;un entier, utile pour la comparaison de versions (i.e., int(50207) depuis la version &quot;5.2.7-extra&quot;). Disponible depuis PHP 5.2.7. </span> </dd> </dt> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66316&edit=1

« previous php.doc.bugs (#10754) next »