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="En:The Meaning of Masonry by Albert Pike" snippet="#WEITERLEITUNG [[En:Albert Pike - The &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; of Masonry]]&#10;" size="58" wordcount="9" timestamp="2010-12-25T22:04:17Z" />
      <p ns="0" title="En:Albert Pike - The Meaning of Masonry" snippet="== The &lt;span class=&#039;searchmatch&#039;&gt;Meaning&lt;/span&gt; of Masonry  ==&#10;" size="8514" wordcount="1460" timestamp="2019-04-02T06:32:17Z" />
      <p ns="0" title="En: Wilmshurst: The meaning of masonry" snippet="[[Datei:The &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; of masonry bookcover.jpg|thumb|350px]]&#10;== The &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; of masonry ==&#10;" size="1531" wordcount="212" timestamp="2016-05-06T10:52:12Z" />
    </search>
  </query>
</api>