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

Resolve issue #5. Add addProtocol support to Config. #6

Merged
merged 3 commits into from
Nov 12, 2014
Merged

Resolve issue #5. Add addProtocol support to Config. #6

merged 3 commits into from
Nov 12, 2014

Conversation

ishults
Copy link
Collaborator

@ishults ishults commented Jul 22, 2014

This allows for adding protocols via something like:

allow('a') {
    protocols attribute: 'href', value: ['http', 'https']
    // Or
    protocols attribute: 'href', value: 'http'
}

Igor Shults added 3 commits July 22, 2014 14:09
Syntax now is:
protocols attribute: 'href', value: 'http'
protocols attribute: 'href', value: [ 'http', 'https' ]
ishults added a commit that referenced this pull request Nov 12, 2014
Resolve issue #5.  Add addProtocol support to Config.

Includes tests.
@ishults ishults merged commit 02b2aa2 into snimavat:master Nov 12, 2014
@ishults
Copy link
Collaborator Author

ishults commented Nov 12, 2014

I merged it via the GitHub interface.

Looks good as far as I can tell. I updated the version number in HtmlCleanerGrailsPlugin.groovy as well.

@snimavat
Copy link
Owner

Published new version to grails central

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