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="20180112165612|1498" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1508" ns="0" title="PCI Compliance" pageid="82" logpage="82" type="patrol" action="patrol" user="Briana" timestamp="2018-11-08T17:18:09Z" comment="">
        <patrol cur="3827" prev="3826" auto="1" />
      </item>
      <item logid="1507" ns="0" title="PCI Compliance" pageid="82" logpage="82" type="patrol" action="patrol" user="Briana" timestamp="2018-11-08T17:17:34Z" comment="">
        <patrol cur="3826" prev="3823" auto="1" />
      </item>
      <item logid="1506" ns="6" title="File:Pci-cert-uk.pdf" pageid="1297" logpage="1297" img_sha1="m7eyvdlekk4wk0pbyz5xczi5q3qu1pl" img_timestamp="2018-11-08T17:15:00Z" type="upload" action="upload" user="Briana" timestamp="2018-11-08T17:15:02Z" comment="" />
      <item logid="1505" ns="0" title="VPS Referral Programs" pageid="421" logpage="421" type="patrol" action="patrol" user="Briana" timestamp="2018-10-18T19:09:13Z" comment="">
        <patrol cur="3824" prev="1627" auto="1" />
      </item>
      <item logid="1504" ns="0" title="PCI Compliance" pageid="82" logpage="82" type="patrol" action="patrol" user="Briana" timestamp="2018-08-15T14:42:20Z" comment="">
        <patrol cur="3823" prev="3805" auto="1" />
      </item>
      <item logid="1503" ns="6" title="File:Pci-report-hostek.pdf" pageid="1296" logpage="1296" img_sha1="fiptgruvs2kt31m789d0sjlvi9v2r83" img_timestamp="2018-08-15T14:41:26Z" type="upload" action="upload" user="Briana" timestamp="2018-08-15T14:41:26Z" comment="Hostek PCI report" />
      <item logid="1502" ns="6" title="File:Storage Diagram.png" pageid="1295" logpage="1295" img_sha1="0jywv59nlbdy5v76c9ec1g664i5yz2z" img_timestamp="2018-05-07T23:26:56Z" type="upload" action="upload" user="Joshm" timestamp="2018-05-07T23:26:56Z" comment="" />
      <item logid="1501" ns="6" title="File:Bw providers.png" pageid="1294" logpage="1294" img_sha1="hxwjt67wp2c321cisuc9na3g9lyinim" img_timestamp="2018-05-07T23:25:37Z" type="upload" action="upload" user="Joshm" timestamp="2018-05-07T23:25:38Z" comment="" />
      <item logid="1500" ns="0" title="Lucee spreadsheet" pageid="1293" logpage="1293" type="patrol" action="patrol" user="Briana" timestamp="2018-03-11T17:12:42Z" comment="">
        <patrol cur="3811" prev="0" auto="1" />
      </item>
      <item logid="1499" ns="0" title="Assigning IPs" pageid="343" logpage="343" type="patrol" action="patrol" user="Kaseya" timestamp="2018-02-05T18:39:01Z" comment="">
        <patrol cur="3807" prev="1277" auto="1" />
      </item>
    </logevents>
  </query>
</api>