We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceb263c commit b43d0c0Copy full SHA for b43d0c0
README.md
@@ -19,7 +19,7 @@ Add php-css-parser to your composer.json
19
20
To use the CSS Parser, create a new instance. The constructor takes the following form:
21
22
- new Sabberworm\CSS\Parser($sText, $sDefaultCharset = 'utf-8');
+ new Sabberworm\CSS\Parser($sText, $oSettings = Sabberworm\CSS\Settings::create()->withDefaultCharset('utf-8'));
23
24
The charset is used only if no @charset declaration is found in the CSS file.
25
0 commit comments