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="Wilgepoort" snippet="...n/Feb). An Excellent winter crag. The Main crag is West-North-West-facing, &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; that on summer’s days it can be unbearably hot . Consequently it has beco&#10;" size="86997" wordcount="15476" timestamp="2018-12-12T11:49:21Z" />
      <p ns="0" title="Kasteel Buttress" snippet="...it doesn&#039;t see more climbing. the crag has a distinct break one pitch up, &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; some routes start on the lower level, while others on the upper.&#10;" size="16903" wordcount="3074" timestamp="2014-04-09T09:26:05Z" />
    </search>
  </query>
</api>