0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-20 04:02:14 +02:00
thunderbird-android/cli/html-cleaner-cli/README.md

18 lines
658 B
Markdown
Raw Permalink Normal View History

```text
Usage: html-cleaner [OPTIONS] INPUT [OUTPUT]
A tool that modifies HTML to only keep allowed elements and attributes the
same way that K-9 Mail does.
Options:
-h, --help Show this message and exit
Arguments:
INPUT HTML input file (needs to be UTF-8 encoded)
OUTPUT Output file
```
2023-02-03 17:28:34 +01:00
You can run this tool using the [html-cleaner](../../html-cleaner) script in the root directory of this repository.
It will compile the application and then run it using the given arguments. This allows you to make modifications to the
[HTML cleaning code](../../app/html-cleaner/src/main/java/app/k9mail/html/cleaner) and test the changes right away.