diff --git a/README.md b/README.md index 2b94e3d..cd9ec0b 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.