1
0

downgrade to kirby v3

This commit is contained in:
Philip Wagner
2024-09-01 10:47:15 +02:00
parent a4b2aece7b
commit af86acb7a1
1085 changed files with 54743 additions and 65042 deletions

25
vendor/oscarotero/html-parser/README.md vendored Normal file
View File

@@ -0,0 +1,25 @@
# HTML parser
Simple utility to parse html strings to DOMDocument.
```sh
composer require oscarotero/html-parser
```
## Usage
```php
use HtmlParser\Parser;
$html = '<html><head></head><body>Hello world</body></html>';
//Convert a string to a DOMDocument
$document = Parser::parse($html);
//Convert a string to a DOMDocumentFragment
$fragment = Parser::parseFragment('<p>Hello world</p>');
//Convert a DOMDocument or DOMDocumentFragment to a string
echo Parser::stringify($document);
echo Parser::stringify($fragment);
```