Commit ccf2c3b 1 parent a466773 commit ccf2c3b Copy full SHA for ccf2c3b
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ impl InlineOutput {
127
127
pub async fn finalize ( self , dom : & mut Document ) -> Result < ( ) > {
128
128
let html = match self . content_type {
129
129
ContentType :: Html | ContentType :: Svg => self . content ,
130
- ContentType :: Css => format ! ( r#"<style type="text/css" >{}</style>"# , self . content) ,
130
+ ContentType :: Css => format ! ( r#"<style>{}</style>"# , self . content) ,
131
131
ContentType :: Js => format ! ( r#"<script>{}</script>"# , self . content) ,
132
132
ContentType :: Module => format ! ( r#"<script type="module">{}</script>"# , self . content) ,
133
133
} ;
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ impl SassOutput {
167
167
let html = match self . css_ref {
168
168
// Insert the inlined CSS into a `<style>` tag.
169
169
CssRef :: Inline ( css) => format ! (
170
- r#"<style type="text/css" {attrs}>{css}</style>"# ,
170
+ r#"<style {attrs}>{css}</style>"# ,
171
171
attrs = AttrWriter :: new( & self . attrs, AttrWriter :: EXCLUDE_CSS_INLINE )
172
172
) ,
173
173
// Link to the CSS file.
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ impl TailwindCssOutput {
156
156
let html = match self . css_ref {
157
157
// Insert the inlined CSS into a `<style>` tag.
158
158
CssRef :: Inline ( css) => format ! (
159
- r#"<style type="text/css" {attrs}>{css}</style>"# ,
159
+ r#"<style {attrs}>{css}</style>"# ,
160
160
attrs = AttrWriter :: new( & self . attrs, AttrWriter :: EXCLUDE_CSS_INLINE )
161
161
) ,
162
162
// Link to the CSS file.
You can’t perform that action at this time.
0 commit comments