This bug was caused by bad type enforcement in PaddingNode when it could be passed a CommentNode or str. Handled this checking for CommentNode while appending.
Fixes #461
Checklist
[x] I have performed a self-review of my own code
[x] I have added tests that prove my fix is effective or that my feature works (if applicable)
Description
This bug was caused by bad type enforcement in
PaddingNode
when it could be passed aCommentNode
orstr
. Handled this checking forCommentNode
while appending.Fixes #461
Checklist