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"?>
    <logevents lestart="2019-02-07T14:30:35Z" />
      <item logid="12899" action="create2" ns="2" title="User:Stefs" pageid="0" type="newusers" userid="8856" user="Js" timestamp="2019-05-30T18:17:52Z" comment="" />
      <item logid="12898" action="create2" ns="2" title="User:Tapwag" pageid="0" type="newusers" userid="8855" user="Js" timestamp="2019-05-25T09:33:27Z" comment="" />
      <item logid="12897" action="protect" ns="0" title="Guidelines for Driver Maintainers" pageid="6305" type="protect" user="Mauro Carvalho Chehab" timestamp="2019-05-23T15:40:40Z" comment="Contains a policy - only media core maintainers may change it">
        <param>‎[edit=sysop] (indefinite)‎[move=sysop] (indefinite)</param>
        <param />
      <item logid="12896" action="patrol" ns="0" title="Media Open Source Projects: Looking for Volunteers" pageid="6255" type="patrol" user="Mauro Carvalho Chehab" timestamp="2019-05-09T12:22:57Z" comment="">
        <patrol cur="36243" prev="36238" auto="1" />
      <item logid="12895" action="create2" ns="2" title="User:Edeus" pageid="0" type="newusers" userid="8854" user="Js" timestamp="2019-04-02T19:26:34Z" comment="" />
      <item logid="12894" action="create2" ns="2" title="User:Jpeitsch" pageid="0" type="newusers" userid="8853" user="Js" timestamp="2019-03-19T05:54:06Z" comment="" />
      <item logid="12893" action="create2" ns="2" title="User:Cottsay" pageid="0" type="newusers" userid="8852" user="Js" timestamp="2019-03-19T05:53:52Z" comment="" />
      <item logid="12892" action="create2" ns="2" title="User:Fdavis99" pageid="0" type="newusers" userid="8851" user="Js" timestamp="2019-03-04T23:09:55Z" comment="" />
      <item logid="12891" action="create2" ns="2" title="User:Trip" pageid="0" type="newusers" userid="8850" user="Js" timestamp="2019-02-24T16:13:30Z" comment="" />
      <item logid="12890" action="patrol" ns="0" title="Astrometa DVB-T2" pageid="5746" type="patrol" user="Mauro Carvalho Chehab" timestamp="2019-02-07T14:37:27Z" comment="">
        <patrol cur="36229" prev="36228" auto="1" />