Blocking addon

Hi, i wanted to post an addon which mozilla denied but i don’t know what i need to modify in order to be accepted. Can someone help me ?

I give here the github of the addon : https://github.com/erwanclx/MyLittleWeather

They reply to me the following message :

  1. This add-on is creating DOM nodes from HTML strings containing potentially unsanitized data, by assigning to innerHTML, jQuery.html, or through similar means. Aside from being inefficient, this is a major security risk.
    For more information, see https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Safely_inserting_external_content_into_a_page .
    Here are some examples that were discovered:
    geopop.js - L. 33, 34, 35, 38

In the file https://github.com/erwanclx/MyLittleWeather/blob/main/popup/geopop.js I see uses of innerText but not innerHTML. I think innerText is fine. Can you find any uses of innerHTML?