css-inline icon indicating copy to clipboard operation
css-inline copied to clipboard

Consider throwing error when using fragments inlining with some flags

Open kamilzych opened this issue 5 months ago • 0 comments

Right now, it's possible to set

  • keep_style_tags
  • keep_at_rules
  • perhaps keep_link_tags as well

to true and inline fragments. These flags are ignored in such case, because there's simply no place in HTML output to insert <style>...</style> tag.

Based on the discussion in this PR, consider setting these flags to true as invalid when inlining fragments and throw an error.

kamilzych avatar Jul 25 '25 15:07 kamilzych