codexa / firetext

[NOT MAINTAINED] Word Processing App 📝 📖

Home Page:https://marketplace.firefox.com/app/firetext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exclude styles from document preview

ferndot opened this issue · comments

Currently, document previews include the contents of <style> elements.

Another way to fix this would be to actually render a small preview of the document.

That would be the best solution for all document types (we could get rid of the sanitation code). My only concern: we don't want to run this code on every enumeration. Could we cache the thumbnails somewhere?