A correction has been made to the "page_number" value, which corresponded to the last page number.

Each chunk of text on a page will now have the page number as the 'page_number' metadata, instead of the last page number for the entire block.

Comment From: tzolov

Thanks for the fix @ricken07 !

Comment From: tzolov

@ricken07 please run the tests and format the code before submitting a PR

Comment From: ricken07

OK I will add test classes and I will not forget to use the plugin provided to format the code. Thanks