The parser isn't recognizing sections in pages where the newline character (\n) is paired with the carriage return character (\r), i.e. every newline is recorded as \r\n. Removing the \r seems to fix the parsing.
I ran into this while collecting revision data with the API for the page "Basques". Revision 3769768 has \r\n and the parser does not return any sections. The following revision (3799279) has \n instead for every new line, and the parser correctly identifies every section.
The parser isn't recognizing sections in pages where the newline character (
\n) is paired with the carriage return character (\r), i.e. every newline is recorded as\r\n. Removing the\rseems to fix the parsing.I ran into this while collecting revision data with the API for the page "Basques". Revision 3769768 has
\r\nand the parser does not return any sections. The following revision (3799279) has\ninstead for every new line, and the parser correctly identifies every section.