You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <search>
      <p ns="0" title="Safari Contest" snippet="...émon, though only one Pokémon from each trainer can be ranked at a time, &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; every Pokémon you submit will replace the one you submitted before it. At &#10;" size="1888" wordcount="294" timestamp="2021-01-10T05:03:11Z" />
      <p ns="0" title="SS Anne" snippet="*Trainers can only have one record added to the leaderboard per day, &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; if you win 10 battles your first go around, then come back and only win 8, &#10;" size="4548" wordcount="685" timestamp="2019-03-02T01:24:50Z" />
      <p ns="0" title="TPPC Glossary" snippet="! &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt;&#10;" size="3957" wordcount="638" timestamp="2024-02-05T12:49:43Z" />
    </search>
  </query>
</api>