Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Auto-detecting OGL fails with newlines #567

Open
rossjones opened this issue May 22, 2017 · 0 comments
Open

Auto-detecting OGL fails with newlines #567

rossjones opened this issue May 22, 2017 · 0 comments

Comments

@rossjones
Copy link
Contributor

In helpers, where we attempt to detect the licence by presence of 'open government licence' in the licence text, it fails when there are newlines. So

Open
Government Licence

isn't found.

Perhaps best to change the regex to use \s to capture all whitespace between the words

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant