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="20190531214234|7380" />
  </query-continue>
  <query>
    <logevents>
      <item logid="7390" ns="2" title="User:IronyFail" pageid="0" type="delete" action="delete" user="IronyFail" timestamp="2019-07-23T22:09:12Z" comment="Author request: My page my rules" />
      <item logid="7389" ns="0" title="Nova Kelly" pageid="0" type="delete" action="delete" user="Thatdoctorperson" timestamp="2019-05-31T21:50:18Z" comment="" />
      <item logid="7388" ns="0" title="Magellan 2014 Logs" pageid="3404" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:49:36Z" comment="">
        <patrol cur="12766" prev="12260" auto="1" />
      </item>
      <item logid="7387" ns="0" title="2013-14 Hibernation Official Logs" pageid="3392" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:47:40Z" comment="">
        <patrol cur="12763" prev="11491" auto="1" />
      </item>
      <item logid="7386" ns="0" title="2016-17" pageid="3529" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:46:22Z" comment="">
        <patrol cur="12762" prev="12755" auto="1" />
      </item>
      <item logid="7385" ns="0" title="2015-16" pageid="3459" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:45:49Z" comment="">
        <patrol cur="12761" prev="12751" auto="1" />
      </item>
      <item logid="7384" ns="0" title="2014-15" pageid="3431" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:45:33Z" comment="">
        <patrol cur="12759" prev="12161" auto="1" />
      </item>
      <item logid="7383" ns="0" title="2013-14" pageid="3348" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:45:00Z" comment="">
        <patrol cur="12758" prev="12173" auto="1" />
      </item>
      <item logid="7382" ns="0" title="November 22 2013" pageid="3373" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:44:27Z" comment="">
        <patrol cur="12757" prev="12742" auto="1" />
      </item>
      <item logid="7381" ns="0" title="Blue Dawn 2017" pageid="3541" type="patrol" action="patrol" user="Thatdoctorperson" timestamp="2019-05-31T21:42:58Z" comment="">
        <patrol cur="12756" prev="12617" auto="1" />
      </item>
    </logevents>
  </query>
</api>