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="20180308091722|2919" />
  </query-continue>
  <query>
    <logevents>
      <item logid="2929" ns="0" title="Tableaux des armes" pageid="492" logpage="492" type="patrol" action="patrol" user="Le nain ob$cur" timestamp="2019-07-15T10:09:20Z" comment="">
        <patrol cur="4621" prev="4620" auto="1" />
      </item>
      <item logid="2928" ns="0" title="Tableaux des armes" pageid="492" logpage="492" type="patrol" action="patrol" user="Le nain ob$cur" timestamp="2019-07-15T10:08:36Z" comment="">
        <patrol cur="4620" prev="4619" auto="1" />
      </item>
      <item logid="2927" ns="2" title="Utilisateur:Le Nain Ob$cur" pageid="0" logpage="0" type="block" action="block" user="Le nain ob$cur" timestamp="2018-03-08T09:43:58Z" comment="Doublon">
        <block flags="nocreate" duration="infinite" />
      </item>
      <item logid="2926" ns="2" title="Utilisateur:Le Nain Ob$cur" pageid="0" logpage="0" type="rights" action="rights" user="Le nain ob$cur" timestamp="2018-03-08T09:43:43Z" comment="">
        <rights new="" old="bureaucrat, checkuser, contrib, sysop" />
      </item>
      <item logid="2925" ns="2" title="Utilisateur:Le nain ob$cur" pageid="0" logpage="0" type="block" action="unblock" user="Le Nain Ob$cur" timestamp="2018-03-08T09:37:40Z" comment="" />
      <item logid="2924" ns="2" title="Utilisateur:Le nain ob$cur" pageid="0" logpage="0" type="rights" action="rights" user="Le Nain Ob$cur" timestamp="2018-03-08T09:36:27Z" comment="">
        <rights new="sysop, bureaucrat, checkuser, contrib" old="" />
      </item>
      <item logid="2923" ns="2" title="Utilisateur:Le Nain Ob$cur" pageid="0" logpage="0" type="rights" action="rights" user="Le Nain Ob$cur" timestamp="2018-03-08T09:34:11Z" comment="">
        <rights new="bureaucrat, sysop, checkuser, contrib" old="bureaucrat, sysop" />
      </item>
      <item logid="2922" ns="2" title="Utilisateur:M.A.D. Cat" pageid="0" logpage="0" type="rights" action="rights" user="Le Nain Ob$cur" timestamp="2018-03-08T09:32:58Z" comment="A quitté le jeu">
        <rights new="" old="bureaucrat, sysop" />
      </item>
      <item logid="2921" ns="2" title="Utilisateur:Thot" pageid="0" logpage="0" type="rights" action="rights" user="Le Nain Ob$cur" timestamp="2018-03-08T09:32:20Z" comment="identité réel inconnu">
        <rights new="" old="bureaucrat, checkuser, contrib, sysop" />
      </item>
      <item logid="2920" ns="2" title="Utilisateur:Garuda" pageid="0" logpage="0" userid="98" type="newusers" action="create2" user="Le Nain Ob$cur" timestamp="2018-03-08T09:20:24Z" comment="pour un nouveau contributeur" />
    </logevents>
  </query>
</api>