Skip to content

Fix bug in XmlComment.asOpenTag() where comment was not rendered on empty _name#11

Open
elementgreen wants to merge 1 commit intoopticron:masterfrom
elementgreen:fix-xml-comment-writes
Open

Fix bug in XmlComment.asOpenTag() where comment was not rendered on empty _name#11
elementgreen wants to merge 1 commit intoopticron:masterfrom
elementgreen:fix-xml-comment-writes

Conversation

@elementgreen
Copy link

XmlComment doesn't use the _name field so this check was probably a copy/paste error. It resulted in comments not being written when converting from the DOM objects to a rendered XML string.

…name was empty (always the case for comments)
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.

1 participant