nushell/crates/nu-command
Artemiy ff290a5c3d
Add self-closed tag support for to xml (#11577)
# Description
This PR closes #11524
Add `to xml --self-closed` flag to output empty tags as self close.
For example:

![image](https://github.com/nushell/nushell/assets/17511668/bdf040f7-8ac1-4e8b-80bb-0043d7cec7f9)


# User-Facing Changes
New `to xml` flag `--self-closed`.

# Tests + Formatting
Added new example for `to xml` command and new test for self-closed
tags.
2024-01-19 05:35:29 -06:00
..
src Add self-closed tag support for to xml (#11577) 2024-01-19 05:35:29 -06:00
tests Add self-closed tag support for to xml (#11577) 2024-01-19 05:35:29 -06:00
Cargo.toml Replace htmlescape with v_htmlescape (#11572) 2024-01-18 12:58:35 -06:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00