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-continue>
    <allredirects arcontinue="Indus_River" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="Coastal Aquifer (Israel, Palestine)" />
      <r ns="0" title="Columbia River Treaty" />
      <r ns="0" title="Conflict Management Strategies Among Riparians Within the Indus River Basin" />
      <r ns="0" title="Convention on Cooperation for the Protection and Sustainable Use of the Danube" />
      <r ns="0" title="Democratic Republic of Congo" />
      <r ns="0" title="Drinking Water Supply in Phnom Penh, Cambodia" />
      <r ns="0" title="Forming Groundwater Sustainability Agencies for Sonoma County" />
      <r ns="0" title="Gaza" />
      <r ns="0" title="Han River (Yangtze River)" />
      <r ns="0" title="Indigenous People of the Rio Chixoy/Rio Negro basin" />
    </allredirects>
  </query>
</api>