8000 [pull] master from tdewolff:master by pull[bot] · Pull Request #177 · RepoBackup/minify · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,10 @@ The SVG minifier uses these minifications:
- shorten `path` data
- use relative or absolute positions in path data whichever is shorter

TODO:
- convert attributes to style attribute whenever shorter
- merge path data? (same style and no intersection -- the latter is difficult)

Options:

- `KeepComments` preserve comments
- `KeepNamespaces` a list of XML namespace prefixes to preserve, default is `[]string{"xlink"}`
- `Precision` number of significant digits to preserve for numbers, `0` means no trimming

## XML
Expand Down
Loading
0