Doc #66316 [Opn->Csd]: HTML is malformed

From: Date: Wed, 01 Jan 2014 19:15:40 +0000
Subject: Doc #66316 [Opn->Csd]: HTML is malformed
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10787@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: bjori@php.net Reported by: ivan dot enderlin at hoa-project dot net Summary: HTML is malformed -Status: Open +Status: Closed Type: Documentation Problem Package: Doc Build problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Since the websites are not directly updated from the repository, the fix might need some time to spread across the globe to all mirror sites, including PHP.net itself. Thank you for the report, and for helping us make PHP.net better. Previous Comments: ------------------------------------------------------------------------ [2013-12-29 12:03:59] salathe@php.net 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. ------------------------------------------------------------------------ [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 (#10787) next »