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>
    <logevents lecontinue="20161210192536|2349" />
  </query-continue>
  <query>
    <logevents>
      <item logid="2359" ns="0" title="DivineDetritusVanquishTheQueenAndTheEgg" pageid="3379" type="move" action="move" user="Chadius" timestamp="2018-01-10T00:28:49Z" comment="Typo in the page name">
        <move new_ns="0" new_title="DivineDetritusTheQueenAndTheEgg" />
      </item>
      <item logid="2358" ns="0" title="Nybble&#039;s Christmas List" pageid="1261" type="patrol" action="patrol" user="Nybble" timestamp="2017-11-15T19:05:01Z" comment="">
        <patrol cur="16398" prev="16397" auto="1" />
      </item>
      <item logid="2357" ns="0" title="Nybble&#039;s Christmas List" pageid="1261" type="patrol" action="patrol" user="Nybble" timestamp="2017-11-15T18:52:17Z" comment="">
        <patrol cur="16397" prev="15635" auto="1" />
      </item>
      <item logid="2356" ns="6" title="File:Petal Rose Portrait.png" pageid="3373" img_sha1="fr28th8rgmp8gd62tc200sr9dry0axo" img_timestamp="2017-05-06T20:07:43Z" type="upload" action="upload" user="Chadius" timestamp="2017-05-06T20:07:43Z" comment="Petal Rose, encountered in the Draugh Kingdom in Divine Detritus." />
      <item logid="2355" ns="0" title="Hub2 Asterra" pageid="3152" type="patrol" action="patrol" user="Nybble" timestamp="2017-01-14T23:38:54Z" comment="">
        <patrol cur="16233" prev="16169" auto="1" />
      </item>
      <item logid="2354" ns="6" title="File:DD world Continents.png" pageid="3368" img_sha1="apvob13207engahxr9ff5hbi7a5dndm" img_timestamp="2017-01-07T21:55:04Z" type="upload" action="upload" user="Chadius" timestamp="2017-01-07T21:55:04Z" comment="The World Map of Divine Detritus." />
      <item logid="2353" ns="0" title="Hub2 Asterra" pageid="3152" type="patrol" action="patrol" user="Nybble" timestamp="2016-12-11T15:45:39Z" comment="">
        <patrol cur="16169" prev="16168" auto="1" />
      </item>
      <item logid="2352" ns="0" title="Hub2 Asterra" pageid="3152" type="patrol" action="patrol" user="Nybble" timestamp="2016-12-11T15:25:10Z" comment="">
        <patrol cur="16168" prev="16167" auto="1" />
      </item>
      <item logid="2351" ns="0" title="Hub2 Asterra" pageid="3152" type="patrol" action="patrol" user="Nybble" timestamp="2016-12-11T14:46:47Z" comment="">
        <patrol cur="16167" prev="16166" auto="1" />
      </item>
      <item logid="2350" ns="0" title="Hub2 Asterra" pageid="3152" type="patrol" action="patrol" user="Nybble" timestamp="2016-12-10T19:26:08Z" comment="">
        <patrol cur="16166" prev="16165" auto="1" />
      </item>
    </logevents>
  </query>
</api>