Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Sep 28, 2023
1 parent d23a7f8 commit 6b08e9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ $parser = Parser::new()->tableHeader(['rank', 'team', 'winner']);
**Because its a tabular data each cell MUST be unique otherwise an exception will be thrown**
### includSection and excludeSection
### includeSection and excludeSection
Tells which section should be parsed based on the `Section` enum
Expand All @@ -173,6 +173,9 @@ $parser = Parser::new()->includeSection(Section::tfoot); // tfoot is included du
$parser = Parser::new()->excludeSection(Section::tr); // table direct tr children are not included during parsing
```
**By default, the `thead` section is not parse. If a `thead` row is selected to be the header, it will
be parsed independently of this setting.**
### ignoreXmlErrors and failOnXmlErrors
Tells whether the parser should ignore or throw in case of malformed HTML content.
Expand Down

0 comments on commit 6b08e9e

Please sign in to comment.