css-inline

High-performance library for inlining CSS into HTML 'style' attributes

MIT License

Downloads
2.6M
Stars
213
Committers
13

Bot releases are hidden (Show)

css-inline - [WASM] Release 0.10.1

Published by Stranger6667 over 1 year ago

Performance

  • Use a simpler way for HTML tree traversal.
  • Avoid hashing in some cases.
css-inline - [Python] Release 0.10.1

Published by Stranger6667 over 1 year ago

Performance

  • Use a simpler way for HTML tree traversal.
  • Avoid hashing in some cases.
css-inline - [Rust] Release 0.10.1

Published by Stranger6667 over 1 year ago

Performance

  • Use a simpler way for HTML tree traversal.
  • Avoid hashing in some cases.
css-inline - [Ruby] Release 0.10.0

Published by Stranger6667 over 1 year ago

Initial public release

css-inline - [WASM] Release 0.10.0

Published by Stranger6667 over 1 year ago

Added

  • keep_link_tags configuration option.

Changed

  • Replace remove_style_tags with keep_style_tags.

Fixed

  • SECURITY: Passing unescaped strings in attribute values introduced in #184.
    Previously, escaped values became unescaped on the serialization step.

Removed

  • The inline_style_tags configuration option.
css-inline - [Python] Release 0.10.0

Published by Stranger6667 over 1 year ago

Added

  • keep_link_tags configuration option.

Changed

  • Replace remove_style_tags with keep_style_tags.

Fixed

  • SECURITY: Passing unescaped strings in attribute values introduced in #184.
    Previously, escaped values became unescaped on the serialization step.

Removed

  • The inline_style_tags configuration option.
css-inline - [Rust] Release 0.10.0

Published by Stranger6667 over 1 year ago

Added

  • keep_link_tags configuration option.

Changed

  • Replace remove_style_tags with keep_style_tags.

Fixed

  • SECURITY: Passing unescaped strings in attribute values introduced in #184.
    Previously, escaped values became unescaped on the serialization step.

Removed

  • The inline_style_tags configuration option.
css-inline - [Rust] Release 0.8.4

Published by Stranger6667 almost 2 years ago

Added

  • data-css-inline="ignore" attribute to ignore CSS inlining. #10
css-inline - Rust release 0.7.0

Published by Stranger6667 over 3 years ago

Fixed

  • Ignored selectors specificity. #108
css-inline - Rust release 0.6.1

Published by Stranger6667 almost 4 years ago

Fixed

  • Compatibility with the new cssparser crate version.

Performance

  • Avoid string allocations during converting ParseError to InlineError.
css-inline - Rust release 0.6.0

Published by Stranger6667 almost 4 years ago

Changed

  • Links to remote stylesheets are deduplicated now.

Fixed

  • Wrong inlined file prefixes handling in CLI. #89

Performance

  • Use Formatter.write_str instead of write! macro in the Display trait implementation for InlineError. #85
  • Use Cow for error messages. #87
css-inline - Python release 0.5.0

Published by Stranger6667 about 4 years ago

Performance

  • Avoid string allocation in get_full_url
css-inline - Rust release 0.5.0

Published by Stranger6667 about 4 years ago

Added

  • CSSInliner::options() that implements the Builder pattern. #71

Changed

  • Restrict visibility of items in parser.rs

Performance

  • Avoid string allocation in get_full_url
css-inline - Rust release 0.4.0

Published by Stranger6667 over 4 years ago

css-inline -

Published by Stranger6667 over 4 years ago

css-inline -

Published by Stranger6667 over 4 years ago

css-inline -

Published by Stranger6667 over 4 years ago

css-inline -

Published by Stranger6667 over 4 years ago

css-inline -

Published by Stranger6667 over 4 years ago