[DOC-CVS] [doc-en] master: gender: fix XML to get remove of useless wrapping para tags

[email protected] (Gina Peter Banyard)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Date: 2026-01-16T06:16:35Z

Commit: https://github.com/php/doc-en/commit/d50d0a1665d08bdd31ba24c7b71a09d6c53d3426
Raw diff: https://github.com/php/doc-en/commit/d50d0a1665d08bdd31ba24c7b71a09d6c53d3426.diff

gender: fix XML to get remove of useless wrapping para tags

Changed paths:
  M  reference/gender/gender/country.xml


Diff:

diff --git a/reference/gender/gender/country.xml b/reference/gender/gender/country.xml
index 1c4f34a02945..be70af165137 100644
--- a/reference/gender/gender/country.xml
+++ b/reference/gender/gender/country.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-
-<refentry xml:id="gender-gender.country" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="gender-gender.country">
  <refnamediv>
   <refname>Gender\Gender::country</refname>
   <refpurpose>Get textual country representation</refpurpose>
@@ -44,17 +43,16 @@
 
  <refsect1 role="examples">
   &reftitle.examples;
-  <para>
-   <example>
-    <title>Using <methodname>Gender\Gender::country</methodname></title>
-    <programlisting role="php">
+  <example>
+   <title>Using <methodname>Gender\Gender::country</methodname></title>
+   <programlisting role="php">
 <![CDATA[
 $gender = new Gender\Gender;
 var_dump($gender->country(Gender\Gender::BRITAIN));
 ]]>
-    </programlisting>
-    &example.outputs;
-    <screen>
+   </programlisting>
+   &example.outputs;
+   <screen>
 <![CDATA[
 array(2) {
   'country_short' =>
@@ -63,12 +61,10 @@ array(2) {
   string(13) "Great Britain"
 }
 ]]>
-    </screen>
-   </example>
-  </para>
+   </screen>
+  </example>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.