If there was a newline in the title of the CEURWS proceeding then wrong Quickstatements would be generated.
This fix normalize consecutive whitespace to one normal space.
Fixes #2386
Description
see above
Caveats
Please list anything which has been left out of this PR or which should be considered before this PR is accepted
Check any of the following which apply:
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation
[ ] This change requires new dependencies (please list)
If you make changes to the Python code
[x] My code passes the tox check, I can receive warnings about tests, documentation or both
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
ython -m scholia.scrape.ceurws proceedings-url-to-quickstatements https://ceur-ws.org/Vol-3559/ went through alright
Checklist
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have not used code from external sources without attribution
[x] I have considered accessibility in my implementation
[x] There are no remaining debug statements (print, console.log, ...)
If there was a newline in the title of the CEURWS proceeding then wrong Quickstatements would be generated. This fix normalize consecutive whitespace to one normal space.
Fixes #2386
Description
see above
Caveats
If you make changes to the Python code
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
ython -m scholia.scrape.ceurws proceedings-url-to-quickstatements https://ceur-ws.org/Vol-3559/
went through alrightChecklist