original_string: protected function forceAbsRelativePathsInCss($css)
      {
          if (!($css = (string) $css)) {
              return $css; // Nothing to do.
          }
          $regex = '/(?:[a-z0-9]+\:)?\/\/'.$this->pregQuote($this->currentUrlHost()).'\//ui';
  
          return preg_replace($regex, '/', $css); // Absolute relative paths.
      }
code: protected function forceAbsRelativePathsInCss($css)
      {
          if (!($css = (string) $css)) {
              return $css; // Nothing to do.
          }
          $regex = '/(?:[a-z0-9]+\:)?\/\/'.$this->pregQuote($this->currentUrlHost()).'\//ui';
  
          return preg_replace($regex, '/', $css); // Absolute relative paths.
      }
code_tokens: protected function forceAbsRelativePathsInCss ( $ css ) { if ( ! ( $ css = ( string ) $ css ) ) { return $ css ; // Nothing to do. } $ regex = '/(?:[a-z0-9]+\:)?\/\/' . $ this -> pregQuote ( $ this -> currentUrlHost ( ) ) . '\//ui' ; return preg_replace ( $ regex , '/' , $ css ) ; // Absolute relative paths. }
docstring: Force absolute relative paths in CSS.
  
  @since 150511 Improving CSS handling.
  
  @param string $css Raw CSS code.
  
  @return string CSS code (possibly altered here).
docstring_tokens: Force absolute relative paths in CSS .