JID field giving "bad URI" error when tapped

Probably we’re feeding the value to a URI handler without escaping?

<iq xmlns="jabber:client" type="result" from="whatsapp.slidge.im" id="97ff33c9-609f-4eb7-8695-480c3761068e" xml:lang="fr-FR" to="xxx@slidge.im/gajim.xxx">
  <command node="https://slidge.im/command/core/groups" xmlns="http://jabber.org/protocol/commands" sessionid="redacted" status="completed">
    <x xmlns="jabber:x:data" type="result">
      <title>Your groups</title>
      <reported>
        <field var="name" type="text-single" />
        <field var="jid" type="jid-single" />
</reported>
      <item>
        <field var="name">
          <value>WE Pent. Camping Sevenier</value>
</field>
        <field var="jid">
          <value>#12036302410387XXXX@whatsapp.slidge.im</value>
</field>
</item>
      <item>
        <field var="name">
          <value>Nikoumouk</value>
</field>
        <field var="jid">
          <value>#1203630773076XXXX@whatsapp.slidge.im</value>
</field>
</item>
<a lot of other items />
</x>
</command>
</iq>

b11972b8e2dadd7746a3b6028d1874f695bdeaef