[DOC-CVS] [phd] simpara-to-p-fixes: Remove overriden <simpara> markup conversions
[email protected] (Gina Peter Banyard)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Gina Peter Banyard (Girgias)
Date: 2026-02-17T00:43:41Z
Commit: https://github.com/php/phd/commit/85d8d9c3103949d88ca7650150ada8d2540ff817
Raw diff: https://github.com/php/phd/commit/85d8d9c3103949d88ca7650150ada8d2540ff817.diff
Remove overriden <simpara> markup conversions
It doesn't make sense to convert those to a span inside a listitem.
Nor does it make sense to special case the note tag while ignoring the warning, tip, caution, and important tags
Changed paths:
M phpdotnet/phd/Package/Generic/XHTML.php
Diff:
diff --git a/phpdotnet/phd/Package/Generic/XHTML.php b/phpdotnet/phd/Package/Generic/XHTML.php
index 0b5fb7fd..6b84ce8b 100644
--- a/phpdotnet/phd/Package/Generic/XHTML.php
+++ b/phpdotnet/phd/Package/Generic/XHTML.php
@@ -294,8 +294,6 @@ abstract class Package_Generic_XHTML extends Format_Abstract_XHTML {
'simplesect' => 'div',
'simpara' => array(
/* DEFAULT */ 'p',
- 'note' => 'span',
- 'listitem' => 'span',
'entry' => 'span',
'example' => 'format_example_content',
),