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="20180219230950|681015" />
  </query-continue>
  <query>
    <logevents>
      <item logid="681025" ns="0" title="Karajou" pageid="0" logpage="148826" type="delete" action="delete" user="1990&#039;sguy" timestamp="2018-02-19T23:32:35Z" comment="Vandalism / parody" />
      <item logid="681024" ns="2" title="User:HomoKaraJ" pageid="0" logpage="0" type="block" action="block" user="1990&#039;sguy" timestamp="2018-02-19T23:32:00Z" comment="Vandalism">
        <block flags="nocreate" duration="2 years" expiry="2020-02-19T23:32:00Z" />
      </item>
      <item logid="681023" ns="2" title="User:HomoKaraJ" pageid="0" logpage="0" userid="67733" type="newusers" action="create" user="HomoKaraJ" timestamp="2018-02-19T23:21:31Z" comment="" />
      <item logid="681022" ns="2" title="User:2.84.34.50" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:13:38Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:13:38Z" />
      </item>
      <item logid="681021" ns="2" title="User:109.185.243.41" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:13:10Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:13:10Z" />
      </item>
      <item logid="681020" ns="2" title="User:103.246.147.22" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:12:42Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:12:42Z" />
      </item>
      <item logid="681019" ns="2" title="User:110.74.215.65" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:12:13Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:12:13Z" />
      </item>
      <item logid="681018" ns="2" title="User:80.104.122.202" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:11:16Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:11:16Z" />
      </item>
      <item logid="681017" ns="2" title="User:46.20.89.218" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:10:47Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:10:47Z" />
      </item>
      <item logid="681016" ns="2" title="User:105.112.81.202" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2018-02-19T23:10:18Z" comment="Webserver allowing spam: Please connect from your own, local IP address">
        <block flags="anononly,nocreate" duration="2 years" expiry="2020-02-19T23:10:18Z" />
      </item>
    </logevents>
  </query>
</api>