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="20190731081220|14815" />
  </query-continue>
  <query>
    <logevents>
      <item logid="14825" ns="2" title="User:Probb" pageid="0" type="rights" action="rights" user="Agrimberg" timestamp="2019-10-24T19:37:25Z" comment="">
        <rights new="" old="bureaucrat, sysop" />
      </item>
      <item logid="14824" ns="2" title="User:Jeremyphelps" pageid="0" type="rights" action="rights" user="Agrimberg" timestamp="2019-10-24T19:36:50Z" comment="">
        <rights new="" old="bureaucrat, sysop" />
      </item>
      <item logid="14823" ns="2" title="User:Tha" pageid="0" type="rights" action="rights" user="Agrimberg" timestamp="2019-10-24T19:36:31Z" comment="">
        <rights new="" old="bureaucrat, sysop" />
      </item>
      <item logid="14822" ns="2" title="User:Hyang" pageid="0" type="rights" action="rights" user="Agrimberg" timestamp="2019-10-24T19:30:35Z" comment="">
        <rights new="sysop, bureaucrat" old="sysop" />
      </item>
      <item logid="14821" ns="2" title="User:Hyang" pageid="0" type="rights" action="rights" user="Agrimberg" timestamp="2019-10-24T19:30:22Z" comment="">
        <rights new="sysop" old="" />
      </item>
      <item logid="14820" ns="6" title="File:UpstreamingPlastic.zip" pageid="16234" img_sha1="h9ors11sywvqicyeqwtiimmkzrh1vat" img_timestamp="2019-09-26T17:41:57Z" type="upload" action="upload" user="Allanclarke" timestamp="2019-09-26T17:41:57Z" comment="" />
      <item logid="14819" ns="6" title="File:PlasticPipeline.png" pageid="16233" img_sha1="3oo2h16td88eah6uskd92cwpnwsfina" img_timestamp="2019-09-25T15:29:11Z" type="upload" action="upload" user="Allanclarke" timestamp="2019-09-25T15:29:11Z" comment="Pipeline slide" />
      <item logid="14818" ns="0" title="Interns" pageid="3718" type="patrol" action="patrol" user="Caseycain" timestamp="2019-09-19T15:52:03Z" comment="">
        <patrol cur="69546" prev="69282" auto="1" />
      </item>
      <item logid="14817" ns="0" title="Events:Magnesium Dev Forum" pageid="16224" type="patrol" action="patrol" user="Caseycain" timestamp="2019-08-13T22:49:12Z" comment="">
        <patrol cur="69480" prev="69477" auto="1" />
      </item>
      <item logid="14816" ns="6" title="File:Opendaylight-netconf2.png" pageid="16228" img_sha1="qlb4nx4i3tlj6q6qksfcoojgxuy6iy8" img_timestamp="2019-07-31T08:13:16Z" type="upload" action="upload" user="Jiehan2017" timestamp="2019-07-31T08:13:16Z" comment="" />
    </logevents>
  </query>
</api>