-
Notifications
You must be signed in to change notification settings - Fork 14
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
Self closing tags? #17
Comments
Do you have example input/output to describe what you mean?
…On Tue, 11 Jan 2022, 7:43 pm Tobias Fors, ***@***.***> wrote:
Is it possible to have the parse function return a self closing tag,
meaning it's empty?
Instead of I'd like to be able to receive
—
Reply to this email directly, view it on GitHub
<#17>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2V5NXMPBN6BS7UAY5JQ3UVPUSRANCNFSM5LVWHARQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sorry I forgot to format the code in the comment so it disappeared, please have a look now :-) |
yes, your first comment looks more complete now :)
I see what you mean now. I'll find some time later (maybe today, maybe
during week, we'll see) and see what I can do.
I imagine it wouldn't be too hard. Probably add an option that defines what
values create such tags.
…On Tue, 11 Jan 2022, 8:54 pm Tobias Fors, ***@***.***> wrote:
Sorry I forgot to format the code in the comment so it disappeared, please
have a look now :-)
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2V5I7MPS5GEQDYVT7N7DUVP46LANCNFSM5LVWHARQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
@Tobeyforce would this solve your needs ? 7ee3ae9 |
Let me get back to you soon, caught covid but will look at the commit as soon as I'm well :) |
super sorry to hear that. take your time!
…On Tue, 25 Jan 2022, 8:01 am Tobias Fors, ***@***.***> wrote:
@Tobeyforce <https://github.com/Tobeyforce> ?
Let me get back to you soon, caught covid but will look at the commit as
soon as I'm well :)
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2V5OK5LNFR27B4YZXUYLUXW44FANCNFSM5LVWHARQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Had the same need as Tobeyforce. Using this commit and suddenly I've got self closing tags, which I needed for a project too. (: |
hehehe, cool. I say I'll merge this later tonight, can always make extra changes in other PRs later if needed :) |
@amospalla @Tobeyforce ok, that commit is released in 1.7.1 Don't be afraid to ask for any other adjustments :) |
Is it possible to have the parse function return a self closing tag, meaning it's empty?
E.g {"empty": ""} or {"empty": None} right now becomes
<empty></empty> and <empty>None</empty>
but I'd like to be able to receive<empty/>
, a self closing tag. I realize however that selfclosing tags and empty tags might be the same thing in XML.The text was updated successfully, but these errors were encountered: