1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

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

This commit is contained in:
Gina Peter Banyard
2026-01-16 06:16:35 +00:00
parent c143cefd03
commit d50d0a1665

View File

@@ -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