Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unwrap_script regex #161

Closed
wants to merge 2 commits into from
Closed

Fix unwrap_script regex #161

wants to merge 2 commits into from

Conversation

dannyrohde
Copy link
Contributor

@dannyrohde dannyrohde commented Aug 22, 2020

References #155

Rebased onto upstream master and merged commits

@dannyrohde dannyrohde changed the title Pr 155 Fix unwrap_script regex Aug 22, 2020
Regex needs to be non-greedy before finding a closing '>' to ensure it will capture the complete script in the capture group
Add test for script unwrapping
Update documentation to explain how to load the 'csp' template tag
@dannyrohde
Copy link
Contributor Author

Added a test for template tag.

@dannyrohde dannyrohde marked this pull request as ready for review August 25, 2020 15:34
@g-k g-k mentioned this pull request Jul 27, 2021
@g-k
Copy link
Contributor

g-k commented Jul 27, 2021

Thanks! Rebased and landed in #178.

@g-k g-k closed this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants