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"?>
    <allpages gapcontinue="Repair_(disambiguation)" />
      <page pageid="3525" ns="0" title="Redshire">
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{MapDetails
|Size = 1000×1000
|Map type = Summer
|Battle Tier limit = 5-10

A rolling area, dominated by a couple of hills. The village of Redshire gives places to hide from hill to its northeast. Artillery will play a powerful role on this map. 
{{To Do}}
      <page pageid="106494" ns="0" title="References (WoWP)">
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">General Placeholder page. Any text here will be moved eventually.</rev>