use textContent instead of innerText in exportable to support Firefox