hfaran / slack-export-viewer

A Slack Export archive viewer that allows you to easily view and share your Slack team's export
https://pypi.python.org/pypi/slack-export-viewer
MIT License
901 stars 189 forks source link

CSS is missing when running without external sources #193

Open m1ga opened 2 months ago

m1ga commented 2 months ago

In the template the local CSS is ignored when you build with --no-external-references:

https://github.com/hfaran/slack-export-viewer/blob/92fd281b450cc10d6c47eb6786e97e27edc7532b/slackviewer/templates/viewer.html#L7

The CSS should be treated as a local reference as it is a local file and not be excluded. There is only the font that is an external request. For DSGVO/GDPR reasons it should be pulled locally, removed or replaced with just

html {
    font-family: sans-serif;
}