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

Fix for xml processing instructions #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Rojuinex
Copy link

@Rojuinex Rojuinex commented Jul 3, 2016

As all XML processing instructions begin with a '?' in their name, I modified xml#format to use a '?' instead of a '/' when closing a tag. This also means that xml#addXmlDeclaration no longer needs to manually replace the trailing '/' for the xml declaration.

https://www.w3.org/TR/xml11/#sec-pi

Fixes #35

@Rojuinex
Copy link
Author

Rojuinex commented Sep 5, 2016

Any reason this hasn't been merged yet?

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