Skip to content

Conversation

@mcfadden
Copy link

@mcfadden mcfadden commented Jul 7, 2022

This moves the IS_COLOUR validation out of the text generator and into the ParamValidators module so we can use it in the plain generator as well.

Prior to this, specifying a color in hex format in the plain generator would raise a Dragonfly::ParamValidators::InvalidParameter exception.

Fixes #519 (and maybe #518 too)

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.

CSS style color raising InvalidParameter when using plain generator

1 participant