-
Notifications
You must be signed in to change notification settings - Fork 27
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 an option for self-closing tags #31
Conversation
Hi! Thank you very much for your suggestion. Could you, please, explain the reasoning behind your solution? Best, |
Sure. There is a condition |
I am afraid I still do not get your point. Currently, XmlSimple emits |
Use backticks for tags. |
Sorry, I've fixed the markup. |
Right. I also wrote it in the commit message, but the description in github didn't show it because it wasn't backticked. I edited the description later. |
Now I got it. I am hesitating a bit to change the default behavior, because the library is widely used and I could imagine that some people rely on the current output format. (even though we all know it is a cardinal sin to process XML without a parser) So, I suggest not to change the current output format but to add a new option. Using this option users could change the output format, then. |
Fair enough. |
Use <tag /> instead of <tag></tag>
Done. I don't know how to update the docs. I added the option to |
Wow, that was fast and you've also written text and documentation. Thank you very much! |
My pleasure :) |
When do you plan to release? |
Sorry, I totally forgot that. I've pushed it to rubygems.org a minute ago.
…On Tue, Dec 29, 2020 at 4:15 PM Orgad Shaneh ***@***.***> wrote:
When do you plan to release?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#31 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFQT3JYWHCSRVBP3P5VV3SXHXALANCNFSM4VFOLYTA>
.
|
Thanks :) |
Use
<tag />
instead of<tag></tag>