[phd] simpara-to-p-fixes: Remove overriden <simpara> markup conversions
| From: | Gina Peter Banyard | Date: | Tue, 17 Feb 2026 00:46:01 +0000 |
| Subject: | [phd] simpara-to-p-fixes: Remove overriden <simpara> markup conversions | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23140@lists.php.net to get a copy of this message | ||
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',
),