pub fn pref_dquotes(self) -> Self {
        let value = self.value;
        let quotes = match self.quotes {
            Quotes::Double
                if value.contains('"') && !value.contains('\'') =>
            {
                Quotes::Single
            }
            Quotes::Single
                if !value.contains('"') || value.contains('\'') =>
            {
                Quotes::Double
            }
            q => q,
        };
        CssString { value, quotes }
    }
/// Adapt the kind of quotes as prefered for a css value.
Adapt the kind of quotes as prefered for a css value.
Adapt the kind of quotes as prefered for a css value .
pub fn pref_dquotes(self) -> Self {
        let value = self.value;
        let quotes = match self.quotes {
            Quotes::Double
                if value.contains('"') && !value.contains('\'') =>
            {
                Quotes::Single
            }
            Quotes::Single
                if !value.contains('"') || value.contains('\'') =>
            {
                Quotes::Double
            }
            q => q,
        };
        CssString { value, quotes }
    }
pub fn pref_dquotes ( self ) -> Self { let value = self . value ; let quotes = match self . quotes { Quotes :: Double if value . contains ( '"' ) && ! value . contains ( '\'' ) => { Quotes :: Single } Quotes :: Single if ! value . contains ( '"' ) || value . contains ( '\'' ) => { Quotes :: Double } q => q , } ; CssString { value , quotes } }
Adapt the kind of quotes as prefered for a css value.
Adapt the kind of quotes as prefered for a css value .
self
self