From 85d8d9c3103949d88ca7650150ada8d2540ff817 Mon Sep 17 00:00:00 2001
From: Gina Peter Banyard
Date: Tue, 17 Feb 2026 00:43:41 +0000
Subject: [PATCH 1/2] Remove overriden 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
---
phpdotnet/phd/Package/Generic/XHTML.php | 2 --
1 file changed, 2 deletions(-)
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',
),
From 6b356b91b92791af10ee02e2b9f56eaa26ac43a2 Mon Sep 17 00:00:00 2001
From: Gina Peter Banyard
Date: Tue, 17 Feb 2026 00:50:11 +0000
Subject: [PATCH 2/2] fix tests
---
tests/package/generic/003.phpt | 20 +++++++++----------
tests/package/php/class_rendering_001.phpt | 4 ++--
tests/package/php/class_rendering_002.phpt | 4 ++--
.../php/variablelist_rendering_001.phpt | 12 +++++------
4 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/tests/package/generic/003.phpt b/tests/package/generic/003.phpt
index 3143628f..bafdc1c4 100644
--- a/tests/package/generic/003.phpt
+++ b/tests/package/generic/003.phpt
@@ -191,29 +191,29 @@ Content:
-
-
+
Returns 0 if parentheses surround the quantity and currency_symbol.
-
+
-
-
+
Returns 1 if the sign string precedes the quantity and currency_symbol.
-
+
-
-
+
Returns 2 if the sign string follows the quantity and currency_symbol.
-
+
-
-
+
Returns 3 if the sign string immediately precedes the currency_symbol.
-
+
-
-
+
Returns 4 if the sign string immediately follows the currency_symbol.
-
+
|
diff --git a/tests/package/php/class_rendering_001.phpt b/tests/package/php/class_rendering_001.phpt
index 0448efcf..895d6fc9 100644
--- a/tests/package/php/class_rendering_001.phpt
+++ b/tests/package/php/class_rendering_001.phpt
@@ -116,9 +116,9 @@ Content:
ClassName::FIRST_CONSTANT
-
+
The description of the class constant.
-
+
diff --git a/tests/package/php/class_rendering_002.phpt b/tests/package/php/class_rendering_002.phpt
index 302dbe6f..c50dd41d 100644
--- a/tests/package/php/class_rendering_002.phpt
+++ b/tests/package/php/class_rendering_002.phpt
@@ -116,9 +116,9 @@ Content:
ClassName::FIRST_CONSTANT
-
+
The description of the class constant.
-
+
diff --git a/tests/package/php/variablelist_rendering_001.phpt b/tests/package/php/variablelist_rendering_001.phpt
index 4f4d45d8..7eb07269 100644
--- a/tests/package/php/variablelist_rendering_001.phpt
+++ b/tests/package/php/variablelist_rendering_001.phpt
@@ -26,9 +26,9 @@ Content:
VARIABLELIST_TEST_CONSTANT
-
+
Description of constant
-
+
@@ -44,17 +44,17 @@ Content:
VARIABLELIST_TEST_CONSTANT_IN_CONSTANT_LIST |
-
+
literal will add its own "role"
-
+
|
VARIABLELIST_TEST_CONSTANT_IN_CONSTANT_LIST2 |
-
+
Role should have not been overwritten by literal
-
+
|