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

Handle blank value for 'class' in row_attrs #416

Closed
Superman8218 opened this issue Feb 14, 2017 · 0 comments · Fixed by mozilla/addons-server#4783 or drummonds/bene#50
Closed

Handle blank value for 'class' in row_attrs #416

Superman8218 opened this issue Feb 14, 2017 · 0 comments · Fixed by mozilla/addons-server#4783 or drummonds/bene#50

Comments

@Superman8218
Copy link

If you run into a situation where you are passing a callable to the row_attrs function, and the function evaluates to an empty string for the class attribute, you will have an extra space appended to the beginning of the row's 'class' attribute. Calling trim after evaluating the callable should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment