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

Proposal: add support to xml:space attribute #12

Merged
merged 2 commits into from
Jun 15, 2019
Merged

Proposal: add support to xml:space attribute #12

merged 2 commits into from
Jun 15, 2019

Conversation

filariow
Copy link
Contributor

I noticed that the OutputXML function was trimming my text entries even if the xml:space attribute was set to preserve.
It is fundamental for my scopes to preserve that spaces so I tried to add the support for this attribute.
I've also used an existing test as template to create new tests for my edits and all seams to work right to me.

With this PR I would like to propose the support for the xml:space attribute.
Hope the implementation is satisfactory.

I would like to take this opportunity to thank you for the good job done with this library.

@coveralls
Copy link

coveralls commented Jun 13, 2019

Coverage Status

Coverage increased (+2.04%) to 83.416% when pulling 5dec624 on FrancescoIlario:master into e401210 on antchfx:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.6%) to 82.963% when pulling ac52038 on FrancescoIlario:master into e401210 on antchfx:master.

@zhengchun zhengchun merged commit 5dec624 into antchfx:master Jun 15, 2019
zhengchun added a commit that referenced this pull request Jun 15, 2019
@zhengchun
Copy link
Contributor

Merged, Thanks!

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.

None yet

3 participants