Closed luni3359 closed 4 years ago
Directly related to issue #30, it's a bug that will go away after that gets done.
Patched it temporarily in commit 8bc13eab5a5a65b580886b4ea57ceb90b32427ac. I accidentally merged it directly without making the pull request, so it's not going to show in the PR history.
We still have to fix this for good in issue #30.
This affects automatic galleries. This could technically be abused to show previews the user did not intend to. Nobody is going to do that, but it's still a regex bug.
Example of invalid matches: