-
Notifications
You must be signed in to change notification settings - Fork 147
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
Add tests #100
base: master
Are you sure you want to change the base?
Add tests #100
Conversation
873569e
to
6e3abcd
Compare
This PR also removes a useless (as far as I know) space in items. |
@@ -335,7 +335,7 @@ def convert_list(items, ids, parent, attr_type, item_func, cdata): | |||
|
|||
elif isinstance(item, iterable): | |||
if not attr_type: | |||
addline('<%s %s>%s</%s>' % ( | |||
addline('<%s%s>%s</%s>' % ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This space is already generated by make_attrstring(attr)
This proposal is excellent and long overdue, and thank you for taking the time to prepare this pull request. I will review it at my earliest opportunity. |
Glad to help :) |
I just realized that this PR is still pending so let's revive it :-) |
I suggest we add some automated tests in order to avoid unexpected breaking changes, as the one reported in #98 .
Depends on #99