File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,7 @@ impl<'a> AttrWriter<'a> {
367
367
ATTR_SRC ,
368
368
ATTR_TYPE ,
369
369
ATTR_MINIFY ,
370
+ ATTR_TARGET_PATH ,
370
371
] ;
371
372
/// Whereas on link elements, the MIME type for css is A-OK. You can even specify a custom
372
373
/// MIME type.
@@ -377,10 +378,12 @@ impl<'a> AttrWriter<'a> {
377
378
ATTR_INLINE ,
378
379
ATTR_SRC ,
379
380
ATTR_MINIFY ,
381
+ ATTR_TARGET_PATH ,
380
382
] ;
381
383
382
384
/// Attributes to ignore for <script> tags
383
- pub ( self ) const EXCLUDE_SCRIPT : & ' static [ & ' static str ] = & [ ATTR_SRC , ATTR_MINIFY ] ;
385
+ pub ( self ) const EXCLUDE_SCRIPT : & ' static [ & ' static str ] =
386
+ & [ ATTR_SRC , ATTR_MINIFY , ATTR_TARGET_PATH ] ;
384
387
385
388
pub ( self ) fn new ( attrs : & ' a Attrs , exclude : & ' a [ & ' a str ] ) -> Self {
386
389
Self { attrs, exclude }
You can’t perform that action at this time.
0 commit comments